2017-06-15 17:17:32 +03:00
|
|
|
module LintConfig exposing (config)
|
2017-01-30 02:52:54 +03:00
|
|
|
|
2019-07-05 18:53:09 +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
|
2019-07-05 18:53:09 +03:00
|
|
|
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 =
|
2019-07-08 23:12:21 +03:00
|
|
|
[ ( Critical, Lint.Rule.NoDebug.rule )
|
2019-07-05 18:53:09 +03:00
|
|
|
, ( Critical, Lint.Rule.NoExtraBooleanComparison.rule )
|
|
|
|
, ( Critical, Lint.Rule.NoImportingEverything.rule { exceptions = [] } )
|
2018-11-11 01:43:58 +03:00
|
|
|
, ( Critical, Lint.Rule.NoUnusedVariables.rule )
|
2019-07-05 18:53:09 +03:00
|
|
|
, ( Critical, Lint.Rule.NoUnusedTypeConstructors.rule )
|
2017-01-30 02:52:54 +03:00
|
|
|
]
|