mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-11-22 04:52:46 +03:00
Disable CSS and CHANGELOG rules for this project
This commit is contained in:
parent
8b1d1e53dc
commit
46c08ed757
@ -12,7 +12,6 @@ when inside the directory containing this file.
|
||||
-}
|
||||
|
||||
import Docs.NoMissing exposing (exposedModules, onlyExposed)
|
||||
import Docs.NoMissingChangelogEntry
|
||||
import Docs.ReviewAtDocs
|
||||
import Docs.ReviewLinksAndSections
|
||||
import Docs.UpToDateReadmeLinks
|
||||
@ -37,7 +36,6 @@ import Review.Rule as Rule exposing (Rule)
|
||||
import Review.FilePattern as FilePattern
|
||||
import NoUnused.CustomTypeConstructorArgs
|
||||
import Simplify
|
||||
import Css.NoUnknownCssClasses
|
||||
|
||||
config : List Rule
|
||||
config =
|
||||
@ -47,7 +45,6 @@ config =
|
||||
, Docs.ReviewAtDocs.rule
|
||||
|> Rule.ignoreErrorsForDirectories [ "tests/" ]
|
||||
, Docs.NoMissing.rule { document = onlyExposed, from = exposedModules }
|
||||
, Docs.NoMissingChangelogEntry.rule Docs.NoMissingChangelogEntry.defaults
|
||||
, NoDebug.Log.rule
|
||||
, NoDebug.TodoOrToString.rule
|
||||
|> Rule.ignoreErrorsForDirectories [ "tests/" ]
|
||||
@ -80,9 +77,6 @@ config =
|
||||
, "src/Review/Logger.elm"
|
||||
]
|
||||
, NoForbiddenWords.rule [ "REPLACEME" ]
|
||||
, Css.NoUnknownCssClasses.cssFiles [ FilePattern.include "src/**/*.css", FilePattern.exclude "src/**/ignore-*.css"]
|
||||
-- |> Css.NoUnknownCssClasses.withCssUsingFunctions cssUsingFunctions
|
||||
|> Css.NoUnknownCssClasses.rule
|
||||
]
|
||||
|> List.map (Rule.ignoreErrorsForDirectories [ "src/Vendor/", "tests/Vendor/" ])
|
||||
|> List.map (Rule.ignoreErrorsForFiles [ "tests/NoUnused/Patterns/NameVisitor.elm" ])
|
||||
|
Loading…
Reference in New Issue
Block a user