eslint-config-lwc icon indicating copy to clipboard operation
eslint-config-lwc copied to clipboard

Opinionated ESLint configurations for LWC projects

Results 6 eslint-config-lwc issues
Sort by recently updated
recently updated
newest added

These rules will effectively replace the restrictions that were removed as part of https://github.com/salesforce/lwc/pull/1897

Getting the following error Uncaught exception received. Error: .eslintrc » @salesforce/eslint-config-lwc/recommended: Configuration for rule "@lwc/lwc/valid-api" is invalid: Value [{"disallowUnderscoreUppercaseMix":true}] should NOT have more than 0 items. at validateRuleOptions (/Users/RMathews/Documents/GitHub/salesforce-bedrock/node_modules/eslint/lib/shared/config-validator.js:138:19) at...

The current plugin does not seem to work with eslint 9 which by default uses the flat config format https://eslint.org/blog/2023/11/whats-coming-in-eslint-9.0.0/ We get the following error [Error - 11:23:02 PM] ConfigError:...

I see the readme says: Usage with TypeScript To enable working with TypeScript projects, install @babel/preset-typescript as a dependency, then add "typescript" to parserOptions.babelOptions.parserOpts.plugins in your .eslintrc. but it shows...

I looked at the README and I decided that the headings too long, so I tidied that up a bit.