eslint-plugin-tmp
ESLint rules for The Mom Project engineering team
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install @the-mom-project/eslint-plugin-tmp
:
$ npm install @the-mom-project/eslint-plugin-tmp --save-dev
$ # OR
$ yarn add -D @the-mom-project/eslint-plugin-tmp
Usage
Add tmp
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"tmp"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"tmp/no-unidentified-buttons": "error"
}
}
Supported Rules