0.1.1 • Published 5 years ago

@the-mom-project/eslint-plugin-tmp v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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

  • no-unidentified-buttons