onasty/web/review/src/ReviewConfig.elm (view raw)
Olexandr Smirnov
Olexandr Smirnov
ss2316544@gmail.com chore(elm-reivew): allow missing type annotation in let statements (#153), 11 months ago
ss2316544@gmail.com chore(elm-reivew): allow missing type annotation in let statements (#153), 11 months ago
| 1 | module ReviewConfig exposing (config) |
| 2 | |
| 3 | import Docs.ReviewAtDocs |
| 4 | import NoConfusingPrefixOperator |
| 5 | import NoDebug.Log |
| 6 | import NoDebug.TodoOrToString |
| 7 | import NoExposingEverything |
| 8 | import NoImportingEverything |
| 9 | import NoMissingTypeAnnotation |
| 10 | import NoMissingTypeExpose |
| 11 | import NoPrematureLetComputation |
| 12 | import NoSimpleLetBody |
| 13 | import NoUnused.CustomTypeConstructorArgs |
| 14 | import NoUnused.CustomTypeConstructors |
| 15 | import NoUnused.Dependencies |
| 16 | import NoUnused.Exports |
| 17 | import NoUnused.Parameters |
| 18 | import NoUnused.Patterns |
| 19 | import NoUnused.Variables |
| 20 | import Review.Rule as Rule exposing (Rule) |
| 21 | import Simplify |
| 22 | |
| 23 | |
| 24 | config : List Rule |
| 25 | config = |
| 26 | [ Docs.ReviewAtDocs.rule |
| 27 | , NoConfusingPrefixOperator.rule |
| 28 | , NoDebug.Log.rule |
| 29 | , NoDebug.TodoOrToString.rule |
| 30 | |> Rule.ignoreErrorsForDirectories [ "tests/" ] |
| 31 | , NoExposingEverything.rule |
| 32 | , NoImportingEverything.rule [] |
| 33 | , NoMissingTypeAnnotation.rule |
| 34 | , NoMissingTypeExpose.rule |
| 35 | , NoSimpleLetBody.rule |
| 36 | , NoPrematureLetComputation.rule |
| 37 | , NoUnused.CustomTypeConstructors.rule [] |
| 38 | , NoUnused.CustomTypeConstructorArgs.rule |
| 39 | , NoUnused.Dependencies.rule |
| 40 | , NoUnused.Exports.rule |
| 41 | |> Rule.ignoreErrorsForFiles [ "src/Effect.elm" ] |
| 42 | , NoUnused.Parameters.rule |
| 43 | , NoUnused.Patterns.rule |
| 44 | , NoUnused.Variables.rule |
| 45 | , Simplify.rule Simplify.defaults |
| 46 | ] |