jfmengels / elm-review-simplify

Provides elm-review rules to simplify your Elm code
https://package.elm-lang.org/packages/jfmengels/elm-review-simplify/latest/
BSD 3-Clause "New" or "Revised" License
20 stars 9 forks source link

Improve operation ranges using operatorRange #125

Closed lue-bird closed 1 year ago

lue-bird commented 1 year ago

Restrict error ranges to the relevant parts, so for example

For many of those, like ++ [] I would actually like to display the error on the operator ++ to make the ranges consistent with fnRange reported by all the function checks. Are you okay with that?