Skip to content

Commit

Permalink
1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Apr 10, 2024
1 parent 10e73f4 commit ba62348
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

## [1.2.3] - 2024-04-10

`NoUnused.Variables` now finds unused imported functions when they have been shadowed by let destructuring variables. Thanks [@matzko](https://github.com/matzko).

## [1.2.2] - 2024-04-02

Fixed issues in [`NoUnused.Exports`] where type aliases and custom types would incorrectly be reported. Thanks Eric from the Elm Slack for reporting!
Expand Down Expand Up @@ -75,7 +79,8 @@ configuration.

Help would be appreciated to fill the blanks!

[Unreleased]: https://github.com/jfmengels/elm-review-unused/compare/v1.2.2...HEAD
[Unreleased]: https://github.com/jfmengels/elm-review-unused/compare/v1.2.3...HEAD
[1.2.3]: https://github.com/jfmengels/elm-review-unused/releases/tag/1.2.3
[1.2.2]: https://github.com/jfmengels/elm-review-unused/releases/tag/1.2.2
[1.2.1]: https://github.com/jfmengels/elm-review-unused/releases/tag/1.2.1
[1.2.0]: https://github.com/jfmengels/elm-review-unused/releases/tag/1.2.0
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ Provides [`elm-review`](https://package.elm-lang.org/packages/jfmengels/elm-revi

## Provided rules

- [🔧 `NoUnused.Variables`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Variables/ "Provides automatic fixes") - Reports unused top-level variables and types, imports and imported variables and types inside of a module.
- [🔧 `NoUnused.CustomTypeConstructors`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-CustomTypeConstructors/ "Provides automatic fixes") - Reports unused constructors for a custom type.
- [`NoUnused.CustomTypeConstructorArgs`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-CustomTypeConstructorArgs/ "Provides automatic fixes") - Reports arguments of custom type constructors that are never used.
- [🔧 `NoUnused.Exports`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Exports/ "Provides automatic fixes") - Reports unused exposed elements from a module.
- [🔧 `NoUnused.Dependencies`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Dependencies/ "Provides automatic fixes") - Reports unused dependencies in the project.
- [🔧 `NoUnused.Parameters`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Parameters/ "Provides automatic fixes") - Report unused parameters.
- [🔧 `NoUnused.Patterns`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Patterns/ "Provides automatic fixes") - Report useless patterns and pattern values that are not used.
- [🔧 `NoUnused.Variables`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Variables/ "Provides automatic fixes") - Reports unused top-level variables and types, imports and imported variables and types inside of a module.
- [🔧 `NoUnused.CustomTypeConstructors`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-CustomTypeConstructors/ "Provides automatic fixes") - Reports unused constructors for a custom type.
- [`NoUnused.CustomTypeConstructorArgs`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-CustomTypeConstructorArgs/ "Provides automatic fixes") - Reports arguments of custom type constructors that are never used.
- [🔧 `NoUnused.Exports`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Exports/ "Provides automatic fixes") - Reports unused exposed elements from a module.
- [🔧 `NoUnused.Dependencies`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Dependencies/ "Provides automatic fixes") - Reports unused dependencies in the project.
- [🔧 `NoUnused.Parameters`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Parameters/ "Provides automatic fixes") - Report unused parameters.
- [🔧 `NoUnused.Patterns`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Patterns/ "Provides automatic fixes") - Report useless patterns and pattern values that are not used.


- **(DEPRECATED)** [`NoUnused.Modules`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Modules/ "Provides automatic fixes") - Reports unused modules in the project.
- **(DEPRECATED)** [`NoUnused.Modules`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Modules/ "Provides automatic fixes") - Reports unused modules in the project.

## Example configuration

Expand Down Expand Up @@ -63,5 +63,5 @@ elm-review --template jfmengels/elm-review-unused/example

## Thanks

Thanks to @sparksp for writing [`NoUnused.Parameters`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Parameters/)
and [`NoUnused.Patterns`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.2/NoUnused-Patterns/).
Thanks to @sparksp for writing [`NoUnused.Parameters`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Parameters/)
and [`NoUnused.Patterns`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.3/NoUnused-Patterns/).
2 changes: 1 addition & 1 deletion elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "jfmengels/elm-review-unused",
"summary": "Provides elm-review rules to detect unused elements in your Elm project",
"license": "BSD-3-Clause",
"version": "1.2.2",
"version": "1.2.3",
"exposed-modules": [
"NoUnused.CustomTypeConstructorArgs",
"NoUnused.CustomTypeConstructors",
Expand Down
2 changes: 1 addition & 1 deletion example-ignore-tests/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"elm/project-metadata-utils": "1.0.2",
"jfmengels/elm-review": "2.13.1",
"stil4m/elm-syntax": "7.3.2",
"jfmengels/elm-review-unused": "1.2.2"
"jfmengels/elm-review-unused": "1.2.3"
},
"indirect": {
"elm/bytes": "1.0.8",
Expand Down
2 changes: 1 addition & 1 deletion example/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"elm/project-metadata-utils": "1.0.2",
"jfmengels/elm-review": "2.13.1",
"stil4m/elm-syntax": "7.3.2",
"jfmengels/elm-review-unused": "1.2.2"
"jfmengels/elm-review-unused": "1.2.3"
},
"indirect": {
"elm/bytes": "1.0.8",
Expand Down

0 comments on commit ba62348

Please sign in to comment.