1.0.1 • Published 5 years ago
eslint-plugin-cci-dev v1.0.1
eslint-plugin-cci-dev
Collection of eslint rules for cci-dev frontend projects
Rules
Rule ID | Description |
---|---|
cci-dev/vue-html-require-data-automation-id | enforces existence of data-automation-id attribute in vue components |
Setup
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"]
}
}