mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-11-22 22:33:13 +03:00
2.5.3
This commit is contained in:
parent
13700fb8a1
commit
cda93d62b9
@ -90,7 +90,7 @@ Before you start adding rules though, I suggest reading the rest of this documen
|
||||
## Write your own rule
|
||||
|
||||
You can write your own rule using this package's API and [`elm-syntax`](https://package.elm-lang.org/packages/stil4m/elm-syntax/7.2.1/).
|
||||
Check out the [`Review.Rule`](https://package.elm-lang.org/packages/jfmengels/elm-review/2.5.2/Review-Rule) documentation for how to get started.
|
||||
Check out the [`Review.Rule`](https://package.elm-lang.org/packages/jfmengels/elm-review/2.5.3/Review-Rule/) documentation for how to get started.
|
||||
|
||||
**NOTE**: If you want to **create a package** containing `elm-review` rules, I highly recommend using the
|
||||
[CLI's](https://github.com/jfmengels/node-elm-review/) `elm-review new-package` subcommand. This will create a new package that will help you use the best practices and give you helpful tools like easy auto-publishing. More information is available in the maintenance file generated along with it.
|
||||
@ -199,7 +199,7 @@ When wondering whether to enable a rule, I suggest using this checklist:
|
||||
|
||||
## Is there a way to ignore an error or disable a rule only in some locations?
|
||||
|
||||
You can prevent errors from being reported by either changing the implementation of your rules or by [configuring exceptions](https://package.elm-lang.org/packages/jfmengels/elm-review/2.5.2/Review-Rule#configuring-exceptions) for directories or for files.
|
||||
You can prevent errors from being reported by either changing the implementation of your rules or by [configuring exceptions](https://package.elm-lang.org/packages/jfmengels/elm-review/2.5.3/Review-Rule/#configuring-exceptions) for directories or for files.
|
||||
|
||||
It is however not possible to ignore errors on a case-by-case basis, for several reasons:
|
||||
|
||||
|
6
elm.json
6
elm.json
@ -3,7 +3,7 @@
|
||||
"name": "jfmengels/elm-review",
|
||||
"summary": "Analyzes Elm projects, to help find mistakes before your users find them.",
|
||||
"license": "BSD-3-Clause",
|
||||
"version": "2.5.2",
|
||||
"version": "2.5.3",
|
||||
"exposed-modules": [
|
||||
"Review.Rule",
|
||||
"Review.ModuleNameLookupTable",
|
||||
@ -22,7 +22,7 @@
|
||||
"stil4m/elm-syntax": "7.2.7 <= v < 8.0.0"
|
||||
},
|
||||
"test-dependencies": {
|
||||
"elm/regex": "1.0.0 <= v < 2.0.0",
|
||||
"elm/parser": "1.1.0 <= v < 2.0.0"
|
||||
"elm/parser": "1.1.0 <= v < 2.0.0",
|
||||
"elm/regex": "1.0.0 <= v < 2.0.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user