Created
February 13, 2022 08:32
-
-
Save csaltos/4da3efd68b326eebc22d8faf584a6a4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ReviewConfig exposing (config) | |
{-| Do not rename the ReviewConfig module or the config function, because | |
`elm-review` will look for these. | |
To add packages that contain rules, add them to this review project using | |
`elm install author/packagename` | |
when inside the directory containing this file. | |
-} | |
import Docs.NoMissing exposing (exposedModules, onlyExposed) | |
import Docs.ReviewAtDocs | |
import Docs.ReviewLinksAndSections | |
import Docs.UpToDateReadmeLinks | |
import HtmlToElm | |
import NoDuplicatePorts | |
import NoInvalidRGBValues | |
import NoUnsafePorts | |
import NoUnused.CustomTypeConstructorArgs | |
import NoUnused.CustomTypeConstructors | |
import NoUnused.Dependencies | |
import NoUnused.Exports | |
import NoUnused.Modules | |
import NoUnused.Parameters | |
import NoUnused.Patterns | |
import NoUnused.Variables | |
import NoUnusedPorts | |
import Review.Rule exposing (Rule) | |
import UseCamelCase | |
config : List Rule | |
config = | |
[ Docs.NoMissing.rule | |
{ document = onlyExposed | |
, from = exposedModules | |
} | |
, Docs.ReviewLinksAndSections.rule | |
, Docs.ReviewAtDocs.rule | |
, Docs.UpToDateReadmeLinks.rule | |
, HtmlToElm.rule | |
, NoDuplicatePorts.rule | |
, NoInvalidRGBValues.rule | |
, NoUnsafePorts.rule NoUnsafePorts.any | |
, NoUnused.CustomTypeConstructorArgs.rule | |
, NoUnused.CustomTypeConstructors.rule [] | |
, NoUnused.Dependencies.rule | |
, NoUnused.Exports.rule | |
, NoUnused.Modules.rule | |
, NoUnused.Parameters.rule | |
, NoUnused.Patterns.rule | |
, NoUnused.Variables.rule | |
, NoUnusedPorts.rule | |
, UseCamelCase.rule UseCamelCase.default | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment