ESLint rules for Fab-manager
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-fabmanager
:
npm install eslint-plugin-fabmanager --save-dev
Add fabmanager
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"fabmanager"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"fabmanager/no-bootstrap": "error"
}
}
Use Yeoman to generate a new rule.
Code with test-driven development.