mirror of
https://github.com/dillonkearns/elm-pages.git
synced 2024-09-11 09:05:28 +03:00
Only apply dead code elimination codemod to files in temp copy of app/ folder, skip any other files to avoid changing user-owned files.
Fixes #441.
This commit is contained in:
parent
8de01463e1
commit
1aa0eb8a39
@ -6,4 +6,6 @@ import Review.Rule as Rule exposing (Rule)
|
||||
|
||||
config : List Rule
|
||||
config =
|
||||
[ Pages.Review.DeadCodeEliminateData.rule ]
|
||||
[ Pages.Review.DeadCodeEliminateData.rule
|
||||
|> Rule.filterErrorsForFiles (String.startsWith "app/")
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user