@lwce/eslint-plugin-lwc-experience-cloud
v0.6.22
Published
An ESLint plugin with custom rules for LWC developers in Experience Cloud.
Downloads
22
Keywords
Readme
@lwce/eslint-plugin-experience-cloud
Collection of ESLint rules for LWC Experience Cloud developers.
Installation
$ npm install eslint @lwce/eslint-plugin-lwc-experience-cloud --save-dev
Usage
Add this plugin to your ESLint configuration and extend your desired configuration. See ESLint documentation for details.
module.exports = {
plugins: ['@lwce/eslint-plugin-lwc-experience-cloud'],
rules: {
'@lwce/lwc-experience-cloud/no-static-color-values': 'warn',
}
};
Rules
| Rule ID | Description | Fixable | | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ------- | | lwc-experience-cloud/no-static-color-values | Disallow static color values in literals. | |