We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seems like rule does not work as intended.
Rule below should not produce error for variables which follows # symbol (TS private modifier)
'functional/immutable-data': [ 'error', { ignoreAccessorPattern: ['**._*', '**.#*'] } ],
Works for
this._anyName = value
But produces error for
this.#anyName = value
Modifying an existing object/array is not allowed.eslint[functional/immutable-data]
Latest version (7.2.0) with the rule snippet above
The text was updated successfully, but these errors were encountered:
See #910 (comment)
Sorry, something went wrong.
No branches or pull requests
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: