mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-23 09:42:49 +03:00
Fix Error
→ Error {}
in examples (#137)
This commit is contained in:
parent
26190a6e75
commit
50ac2ae752
@ -3313,7 +3313,7 @@ The `details` is a list of paragraphs, and each item will be visually separated
|
|||||||
when shown to the user. The details may not be empty, and this will be enforced
|
when shown to the user. The details may not be empty, and this will be enforced
|
||||||
by the tests automatically.
|
by the tests automatically.
|
||||||
|
|
||||||
error : Node a -> Error
|
error : Node a -> Error {}
|
||||||
error node =
|
error node =
|
||||||
Rule.error
|
Rule.error
|
||||||
{ message = "Remove the use of `Debug` before shipping to production"
|
{ message = "Remove the use of `Debug` before shipping to production"
|
||||||
@ -3348,7 +3348,7 @@ provides an automatic fix that the user can apply.
|
|||||||
|
|
||||||
import Review.Fix as Fix
|
import Review.Fix as Fix
|
||||||
|
|
||||||
error : Node a -> Error
|
error : Node a -> Error {}
|
||||||
error node =
|
error node =
|
||||||
Rule.errorWithFix
|
Rule.errorWithFix
|
||||||
{ message = "Remove the use of `Debug` before shipping to production"
|
{ message = "Remove the use of `Debug` before shipping to production"
|
||||||
@ -3645,7 +3645,7 @@ parsingError rawFile =
|
|||||||
|
|
||||||
import Review.Fix as Fix
|
import Review.Fix as Fix
|
||||||
|
|
||||||
error : Node a -> Error
|
error : Node a -> Error {}
|
||||||
error node =
|
error node =
|
||||||
Rule.error
|
Rule.error
|
||||||
{ message = "Remove the use of `Debug` before shipping to production"
|
{ message = "Remove the use of `Debug` before shipping to production"
|
||||||
|
Loading…
Reference in New Issue
Block a user