0.0.2 • Published 3 years ago
eslint-plugin-tf-guidelines v0.0.2
eslint-plugin-tf-guidelines
...
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-tf-guidelines:
npm install eslint-plugin-tf-guidelines --save-devUsage
Add tf-guidelines to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"tf-guidelines"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"tf-guidelines/rule-name": 2
}
}Rules
| Name | Description |
|---|---|
| tf-fe-001 | Variable identifiers should be in camel case naming convention. |