Enable Simplify

This commit is contained in:
Jeroen Engels 2023-06-25 20:03:20 +02:00
parent efd3fc151a
commit fceaaf33e2
2 changed files with 3 additions and 0 deletions

View File

@ -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": {

View File

@ -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/" ])