Skip to content
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

[no-dupe-class-members] Cannot turn off rule #599

Closed
twhitbeck opened this issue Jun 7, 2019 · 1 comment
Closed

[no-dupe-class-members] Cannot turn off rule #599

twhitbeck opened this issue Jun 7, 2019 · 1 comment
Labels
package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for maintainers to take a look

Comments

@twhitbeck
Copy link

twhitbeck commented Jun 7, 2019

Repro

https://gist.github.com/twhitbeck/0235fc09ee7076a4f60a5c42107e73d2

Expected Result
Running yarn lint should succeed

Actual Result
Running yarn lint fails with errors because of rule no-dupe-class-members even though that rule is turned off.

Additional info
I did verify that this is not an issue with a vanilla js project with same version of eslint and using { "extends": ["eslint:recommended"], "rules": { "no-dupe-class-members": "off" } }.

Versions

package version
@typescript-eslint/eslint-plugin 1.9.0
@typescript-eslint/parser 1.9.0
TypeScript 3.5.1
ESLint 5.16.0
node 12.3.1
npm 6.9.0
@twhitbeck twhitbeck added package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for maintainers to take a look labels Jun 7, 2019
@bradzacher
Copy link
Member

#520

This has been fixed in master, but hasn't been released yet.
You can manually patch your repo with the above PR fix, or use the canary tag on NPM

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for maintainers to take a look
Projects
None yet
Development

No branches or pull requests

2 participants