mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-08-16 19:40:22 +03:00
Enable Simplify
This commit is contained in:
parent
efd3fc151a
commit
fceaaf33e2
@ -13,6 +13,7 @@
|
||||
"elm/project-metadata-utils": "1.0.2",
|
||||
"elm/regex": "1.0.0",
|
||||
"jfmengels/elm-review": "2.11.0",
|
||||
"pzp1997/assoc-list": "1.0.0",
|
||||
"stil4m/elm-syntax": "7.2.9"
|
||||
},
|
||||
"indirect": {
|
||||
|
@ -34,6 +34,7 @@ import NoUnused.Patterns
|
||||
import NoUnused.Variables
|
||||
import Review.Rule as Rule exposing (Rule)
|
||||
import NoUnused.CustomTypeConstructorArgs
|
||||
import Simplify
|
||||
|
||||
config : List Rule
|
||||
config =
|
||||
@ -69,6 +70,7 @@ config =
|
||||
, NoUnused.Variables.rule
|
||||
, NoSimpleLetBody.rule
|
||||
, NoPrematureLetComputation.rule
|
||||
, Simplify.rule Simplify.defaults
|
||||
, NoForbiddenWords.rule [ "REPLACEME" ]
|
||||
]
|
||||
|> List.map (Rule.ignoreErrorsForDirectories [ "src/Vendor/", "tests/Vendor/" ])
|
||||
|
Loading…
Reference in New Issue
Block a user