Skip to content

Commit

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

## [Unreleased]

## [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!

## [1.2.1] - 2024-04-01
Expand Down Expand Up @@ -73,7 +75,8 @@ configuration.

Help would be appreciated to fill the blanks!

[Unreleased]: https://github.com/jfmengels/elm-review-unused/compare/v1.2.1...HEAD
[Unreleased]: https://github.com/jfmengels/elm-review-unused/compare/v1.2.2...HEAD
[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
[1.1.30]: https://github.com/jfmengels/elm-review-unused/releases/tag/1.1.30
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.1/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.1/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.1/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.1/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.1/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.1/NoUnused-Parameters/ "Provides automatic fixes") - Report unused parameters.
- [🔧 `NoUnused.Patterns`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.1/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.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.


- **(DEPRECATED)** [`NoUnused.Modules`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.1/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.2/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.1/NoUnused-Parameters/)
and [`NoUnused.Patterns`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.1/NoUnused-Patterns/).
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/).
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.1",
"version": "1.2.2",
"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.1"
"jfmengels/elm-review-unused": "1.2.2"
},
"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.1"
"jfmengels/elm-review-unused": "1.2.2"
},
"indirect": {
"elm/bytes": "1.0.8",
Expand Down

0 comments on commit dde1b22

Please sign in to comment.