Add a no TODO rule.

This commit is contained in:
Dillon Kearns 2021-05-24 21:13:51 -07:00
parent 91b109602a
commit 2e1cfbdb36
2 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,7 @@
"elm/project-metadata-utils": "1.0.2",
"jfmengels/elm-review": "2.4.2",
"jfmengels/elm-review-unused": "1.1.10",
"sparksp/elm-review-forbidden-words": "1.0.1",
"stil4m/elm-syntax": "7.2.5"
},
"indirect": {
@ -17,6 +18,7 @@
"elm/json": "1.1.3",
"elm/parser": "1.1.0",
"elm/random": "1.0.0",
"elm/regex": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.2",
"elm-community/list-extra": "8.3.0",
@ -32,4 +34,4 @@
},
"indirect": {}
}
}
}

View File

@ -11,6 +11,7 @@ when inside the directory containing this file.
-}
import NoForbiddenWords
import NoUnused.CustomTypeConstructorArgs
import NoUnused.CustomTypeConstructors
import NoUnused.Dependencies
@ -34,6 +35,7 @@ config =
--, NoUnused.Parameters.rule
--, NoUnused.Patterns.rule
--, NoUnused.Variables.rule
, NoForbiddenWords.rule [ "TODO" ]
]
|> List.map
(\rule ->