-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[functional/immutable-data] Doesn't take into consideration ignoreAccessorPattern with hash symbol #911
Labels
Breaking Change
This change will require a new major release.
Status: Released
It's now live.
Type: Bug
Inconsistencies or issues which will cause a problem for users or implementors.
Comments
Clarchik
added
Status: Triage
This issue needs to be triaged.
Type: Bug
Inconsistencies or issues which will cause a problem for users or implementors.
labels
Dec 28, 2024
See #910 (comment) |
RebeccaStevens
added
Resolution: By Design
The behavior reported in the issue is actually correct.
and removed
Type: Bug
Inconsistencies or issues which will cause a problem for users or implementors.
Status: Triage
This issue needs to be triaged.
labels
Jan 5, 2025
RebeccaStevens
added
Type: Bug
Inconsistencies or issues which will cause a problem for users or implementors.
Breaking Change
This change will require a new major release.
and removed
Resolution: By Design
The behavior reported in the issue is actually correct.
labels
Jan 14, 2025
RebeccaStevens
added a commit
that referenced
this issue
Jan 14, 2025
🎉 This issue has been resolved in version 8.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
renovate bot
added a commit
to mmkal/eslint-plugin-mmkal
that referenced
this issue
Jan 14, 2025
##### [v8.0.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#800-2025-01-14) ##### Bug Fixes - prefix PrivateIdentifier names with a # ([#921](eslint-functional/eslint-plugin-functional#921)) ([09b6474](eslint-functional/eslint-plugin-functional@09b6474)), closes [#910](eslint-functional/eslint-plugin-functional#910) [#911](eslint-functional/eslint-plugin-functional#911) ##### BREAKING CHANGES - when using patterns to match against PrivateIdentifiers, their names are now prefixed with a #. ##### [v7.3.1](eslint-functional/eslint-plugin-functional@v7.3.0...v7.3.1) ##### [v7.3.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#730-2025-01-14) ##### Bug Fixes - **prefer-tacit:** improve suggestion message ([59194b2](eslint-functional/eslint-plugin-functional@59194b2)) ##### Features - **type-declaration-immutability:** allow defining custom suggestion messages ([037a3c7](eslint-functional/eslint-plugin-functional@037a3c7)) #### [7.2.2](eslint-functional/eslint-plugin-functional@v7.2.1...v7.2.2) (2025-01-14) #### [7.2.1](eslint-functional/eslint-plugin-functional@v7.2.0...v7.2.1) (2025-01-06) ##### [v7.2.2](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#722-2025-01-14)
renovate bot
added a commit
to mmkal/eslint-plugin-mmkal
that referenced
this issue
Jan 15, 2025
##### [v8.0.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#800-2025-01-14) ##### Bug Fixes - prefix PrivateIdentifier names with a # ([#921](eslint-functional/eslint-plugin-functional#921)) ([09b6474](eslint-functional/eslint-plugin-functional@09b6474)), closes [#910](eslint-functional/eslint-plugin-functional#910) [#911](eslint-functional/eslint-plugin-functional#911) ##### BREAKING CHANGES - when using patterns to match against PrivateIdentifiers, their names are now prefixed with a #. ##### [v7.3.1](eslint-functional/eslint-plugin-functional@v7.3.0...v7.3.1) ##### [v7.3.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#730-2025-01-14) ##### Bug Fixes - **prefer-tacit:** improve suggestion message ([59194b2](eslint-functional/eslint-plugin-functional@59194b2)) ##### Features - **type-declaration-immutability:** allow defining custom suggestion messages ([037a3c7](eslint-functional/eslint-plugin-functional@037a3c7)) #### [7.2.2](eslint-functional/eslint-plugin-functional@v7.2.1...v7.2.2) (2025-01-14) #### [7.2.1](eslint-functional/eslint-plugin-functional@v7.2.0...v7.2.1) (2025-01-06) ##### [v7.2.2](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#722-2025-01-14)
renovate bot
added a commit
to mmkal/eslint-plugin-mmkal
that referenced
this issue
Jan 15, 2025
##### [v8.0.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#800-2025-01-14) ##### Bug Fixes - prefix PrivateIdentifier names with a # ([#921](eslint-functional/eslint-plugin-functional#921)) ([09b6474](eslint-functional/eslint-plugin-functional@09b6474)), closes [#910](eslint-functional/eslint-plugin-functional#910) [#911](eslint-functional/eslint-plugin-functional#911) ##### BREAKING CHANGES - when using patterns to match against PrivateIdentifiers, their names are now prefixed with a #. ##### [v7.3.1](eslint-functional/eslint-plugin-functional@v7.3.0...v7.3.1) ##### [v7.3.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#730-2025-01-14) ##### Bug Fixes - **prefer-tacit:** improve suggestion message ([59194b2](eslint-functional/eslint-plugin-functional@59194b2)) ##### Features - **type-declaration-immutability:** allow defining custom suggestion messages ([037a3c7](eslint-functional/eslint-plugin-functional@037a3c7)) #### [7.2.2](eslint-functional/eslint-plugin-functional@v7.2.1...v7.2.2) (2025-01-14) #### [7.2.1](eslint-functional/eslint-plugin-functional@v7.2.0...v7.2.1) (2025-01-06) ##### [v7.2.2](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#722-2025-01-14)
renovate bot
added a commit
to mmkal/eslint-plugin-mmkal
that referenced
this issue
Jan 15, 2025
##### [v8.0.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#800-2025-01-14) ##### Bug Fixes - prefix PrivateIdentifier names with a # ([#921](eslint-functional/eslint-plugin-functional#921)) ([09b6474](eslint-functional/eslint-plugin-functional@09b6474)), closes [#910](eslint-functional/eslint-plugin-functional#910) [#911](eslint-functional/eslint-plugin-functional#911) ##### BREAKING CHANGES - when using patterns to match against PrivateIdentifiers, their names are now prefixed with a #. ##### [v7.3.1](eslint-functional/eslint-plugin-functional@v7.3.0...v7.3.1)
renovate bot
added a commit
to mmkal/eslint-plugin-mmkal
that referenced
this issue
Jan 15, 2025
##### [v8.0.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#800-2025-01-14) ##### Bug Fixes - prefix PrivateIdentifier names with a # ([#921](eslint-functional/eslint-plugin-functional#921)) ([09b6474](eslint-functional/eslint-plugin-functional@09b6474)), closes [#910](eslint-functional/eslint-plugin-functional#910) [#911](eslint-functional/eslint-plugin-functional#911) ##### BREAKING CHANGES - when using patterns to match against PrivateIdentifiers, their names are now prefixed with a #. ##### [v7.3.1](eslint-functional/eslint-plugin-functional@v7.3.0...v7.3.1)
renovate bot
added a commit
to mmkal/eslint-plugin-mmkal
that referenced
this issue
Jan 15, 2025
##### [v8.0.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#800-2025-01-14) ##### Bug Fixes - prefix PrivateIdentifier names with a # ([#921](eslint-functional/eslint-plugin-functional#921)) ([09b6474](eslint-functional/eslint-plugin-functional@09b6474)), closes [#910](eslint-functional/eslint-plugin-functional#910) [#911](eslint-functional/eslint-plugin-functional#911) ##### BREAKING CHANGES - when using patterns to match against PrivateIdentifiers, their names are now prefixed with a #. ##### [v7.3.1](eslint-functional/eslint-plugin-functional@v7.3.0...v7.3.1)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Breaking Change
This change will require a new major release.
Status: Released
It's now live.
Type: Bug
Inconsistencies or issues which will cause a problem for users or implementors.
Bug Report
Seems like rule does not work as intended.
Expected behavior
Rule below should not produce error for variables which follows # symbol (TS private modifier)
Actual behavior
Works for
this._anyName = value
But produces error for
this.#anyName = value
Modifying an existing object/array is not allowed.eslint[functional/immutable-data]
Steps to reproduce
Latest version (7.2.0) with the rule snippet above
Proposed changes
The text was updated successfully, but these errors were encountered: