Enable NoUnsafeRegexFromLiteral

This commit is contained in:
Jeroen Engels 2021-03-01 19:56:09 +01:00
parent 1a02627f98
commit 5eea8ffa6d

View File

@ -21,6 +21,7 @@ import NoMissingTypeAnnotationInLetIn
import NoMissingTypeExpose
import NoSimpleLetBody
import NoUnnecessaryTrailingUnderscore
import NoUnsafeRegexFromLiteral
import NoUnused.CustomTypeConstructors
import NoUnused.Dependencies
import NoUnused.Exports
@ -34,6 +35,7 @@ import Review.Rule as Rule exposing (Rule)
config : List Rule
config =
[ Documentation.ReadmeLinksPointToCurrentVersion.rule
, NoUnsafeRegexFromLiteral.rule { moduleAlias = Nothing, unsafeFunction = "Haha.oko" }
, NoDebug.Log.rule
, NoDebug.TodoOrToString.rule
|> Rule.ignoreErrorsForDirectories [ "tests/" ]