mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-11-29 01:24:35 +03:00
Enable NoUnsafeRegexFromLiteral
This commit is contained in:
parent
1a02627f98
commit
5eea8ffa6d
@ -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/" ]
|
||||
|
Loading…
Reference in New Issue
Block a user