un-ts / eslint-plugin-sonar

ESLint rules extracted from SonarJS
https://github.com/SonarSource/SonarJS
MIT License
42 stars 2 forks source link

When eslint is version 7.*, errors occur when using the 0.13.1 plugin (meta is undefined) #121

Closed Le45a closed 10 months ago

Le45a commented 10 months ago

I found this problem when I tried to use version 7.32 of eslint when used the no-unused-private-class-members rule,eslint would report an error Details about the error message is meta is undefined because the above rules are only supported by eslint 8.1.0 Do you want to update the eslint version in peerDependencies or remove this rule temporarily?

Anyway, thank you for providing such a great plugin

JounQin commented 10 months ago

OK, feel free to raise a PR.

JounQin commented 10 months ago

eslint-plugin-sonar v0.13.2 has been released with correct peer dependency.