Add rule.

This commit is contained in:
Dillon Kearns 2021-07-29 13:15:57 -07:00
parent 602c74d57b
commit 041b78bb73
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@
"jfmengels/elm-review-debug": "1.0.6",
"jfmengels/elm-review-performance": "1.0.1",
"jfmengels/elm-review-unused": "1.1.15",
"mthadley/elm-review-unit": "2.0.1",
"sparksp/elm-review-imports": "1.0.1",
"stil4m/elm-syntax": "7.2.6"
},

View File

@ -20,6 +20,7 @@ import NoMissingTypeAnnotation
import NoMissingTypeAnnotationInLetIn
import NoMissingTypeExpose
import NoModuleOnExposedNames
import NoUnmatchedUnit
import NoUnoptimizedRecursion
import NoUnused.CustomTypeConstructorArgs
import NoUnused.CustomTypeConstructors
@ -69,6 +70,7 @@ config =
-- alias is exposed - see https://github.com/jfmengels/elm-review-common/issues/1
, "src/ApiRoute.elm" -- incorrect result
]
, NoUnmatchedUnit.rule
]
++ (noUnusedRules
|> List.map