0.0.2 • Published 2 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-dev
Next, install eslint-plugin-tf-guidelines
:
npm install eslint-plugin-tf-guidelines --save-dev
Usage
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. |