mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 06:54:03 +03:00
Use Never in constructor as suggested in docs to avoid no unused constructor review error.
This commit is contained in:
parent
1b19d8e22e
commit
c6157ff293
@ -118,7 +118,6 @@ noUnusedRules =
|
||||
|> Rule.ignoreErrorsForFiles
|
||||
[ "src/Head/Twitter.elm" -- keeping unused for future use for spec API
|
||||
, "src/RoutePattern.elm"
|
||||
, "src/Form.elm" -- ignored because false positive for unused for Phantom Builder type, see https://github.com/jfmengels/elm-review-unused/issues/60
|
||||
]
|
||||
, NoUnused.CustomTypeConstructorArgs.rule
|
||||
|> ignoreInTest
|
||||
|
@ -1337,11 +1337,11 @@ withStringProperty ( key, value ) (Field field) =
|
||||
|
||||
|
||||
type Yes
|
||||
= Yes
|
||||
= Yes Never
|
||||
|
||||
|
||||
type No
|
||||
= No
|
||||
= No Never
|
||||
|
||||
|
||||
{-| -}
|
||||
|
Loading…
Reference in New Issue
Block a user