elm-review/LintConfig.elm

23 lines
721 B
Elm
Raw Normal View History

2017-06-15 17:17:32 +03:00
module LintConfig exposing (config)
2017-01-30 02:52:54 +03:00
-- Do not rename the module or the exposed function.
-- `elm-lint` will look for these.
import Lint exposing (Severity(..))
import Lint.Rule exposing (Rule)
2018-11-11 01:43:58 +03:00
import Lint.Rule.NoDebug
2019-06-16 16:31:40 +03:00
import Lint.Rule.NoExtraBooleanComparison
2018-11-11 01:43:58 +03:00
import Lint.Rule.NoImportingEverything
import Lint.Rule.NoUnusedTypeConstructors
2018-11-11 01:43:58 +03:00
import Lint.Rule.NoUnusedVariables
2017-01-30 02:52:54 +03:00
2018-11-11 01:37:18 +03:00
config : List ( Severity, Rule )
2017-06-15 17:17:32 +03:00
config =
[ ( Critical, Lint.Rule.NoDebug.rule )
, ( Critical, Lint.Rule.NoExtraBooleanComparison.rule )
, ( Critical, Lint.Rule.NoImportingEverything.rule { exceptions = [] } )
2018-11-11 01:43:58 +03:00
, ( Critical, Lint.Rule.NoUnusedVariables.rule )
, ( Critical, Lint.Rule.NoUnusedTypeConstructors.rule )
2017-01-30 02:52:54 +03:00
]