Collection of eslint rules for cci-dev frontend projects
Rule ID | Description |
---|---|
cci-dev/vue-html-require-data-automation-id | enforces existence of data-automation-id attribute in vue components |
Eslint setup in your project:
package.json
{
"devDependencies": {
"eslint-plugin-cci-dev": "1.0.0"
}
}
.eslintrc.json
{
"plugins": [
"cci-dev"
],
"rules": {
"cci-dev/[rule-name]": ["error", "config"]
}
}