salesforce / eslint-config-lwc

Opinionated ESLint configurations for LWC projects
MIT License
112 stars 36 forks source link

fix: Avoid duplicate no-dupe-class-members warning with ESLint v8 #78

Closed pmdartus closed 2 years ago

pmdartus commented 2 years ago

This PR disables the lwc/no-dupe-class-members rule when running ESLint v8. It prevents reporting twice the same duplicate field error message.

Address this issue on the original ESLint v8 upgrade https://github.com/salesforce/eslint-config-lwc/pull/77#discussion_r746387800