Provides elm-review
rules to support the use of elm-zen-css
.
ZenCss.NoHtmlClasses
- Reports the use ofHtml.Attributes.class
,Html.Attributes.classList
andSvg.Attributes.class
.ZenCss.NoHtmlStyles
- Reports the use ofHtml.Attributes.style
andSvg.Attributes.style
.
module ReviewConfig exposing (config)
import Review.Rule exposing (Rule)
import ZenCss.NoHtmlClasses
import ZenCss.NoHtmlStyles
config : List Rule
config =
[ ZenCss.NoHtmlClasses.rule
, ZenCss.NoHtmlStyles.rule
]
You can try the example configuration above out by running the following command:
elm-review --template decioferreira/elm-review-zen-css/example