Skip to content

Commit

Permalink
1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Apr 1, 2024
1 parent 20bc9d8 commit ff06235
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 18 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.1] - 2024-04-01

- [`NoUnused.Exports`] now reports (and removes using `--fix`) elements even if the module is exposing everything (`module X exposing (..)`) if the element is unused both locally and across the project. Thanks [@tfausak](https://github.com/tfausak).

## [1.2.0] - 2023-07-28
Expand Down Expand Up @@ -69,7 +71,8 @@ configuration.

Help would be appreciated to fill the blanks!

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


- **(DEPRECATED)** [`NoUnused.Modules`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.0/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.1/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.0/NoUnused-Parameters/)
and [`NoUnused.Patterns`](https://package.elm-lang.org/packages/jfmengels/elm-review-unused/1.2.0/NoUnused-Patterns/).
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/).
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.0",
"version": "1.2.1",
"exposed-modules": [
"NoUnused.CustomTypeConstructorArgs",
"NoUnused.CustomTypeConstructors",
Expand Down
5 changes: 2 additions & 3 deletions example-ignore-tests/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"elm/core": "1.0.5",
"elm/project-metadata-utils": "1.0.2",
"jfmengels/elm-review": "2.13.1",
"stil4m/elm-syntax": "7.2.9",
"jfmengels/elm-review-unused": "1.2.0"
"stil4m/elm-syntax": "7.3.2",
"jfmengels/elm-review-unused": "1.2.1"
},
"indirect": {
"elm/bytes": "1.0.8",
Expand All @@ -20,7 +20,6 @@
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3",
"elm-community/list-extra": "8.7.0",
"elm-explorations/test": "2.1.1",
"miniBill/elm-unicode": "1.0.3",
"rtfeldman/elm-hex": "1.0.0",
Expand Down
5 changes: 2 additions & 3 deletions example/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"elm/core": "1.0.5",
"elm/project-metadata-utils": "1.0.2",
"jfmengels/elm-review": "2.13.1",
"stil4m/elm-syntax": "7.2.9",
"jfmengels/elm-review-unused": "1.2.0"
"stil4m/elm-syntax": "7.3.2",
"jfmengels/elm-review-unused": "1.2.1"
},
"indirect": {
"elm/bytes": "1.0.8",
Expand All @@ -20,7 +20,6 @@
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3",
"elm-community/list-extra": "8.7.0",
"elm-explorations/test": "2.1.1",
"miniBill/elm-unicode": "1.0.3",
"rtfeldman/elm-hex": "1.0.0",
Expand Down

0 comments on commit ff06235

Please sign in to comment.