1.0.5 • Published 6 years ago

eslint-plugin-sales v1.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

eslint-plugin-sales

eslint rules for sales project

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-sales:

$ npm install eslint-plugin-sales --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-sales globally.

Usage

Add sales to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["sales"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "sales/used-proxy": "warn",
  }
}

Supported Rules

  • used-let-const
  • used-promise
  • used-proxy
  • used-reflect
  • used-symbol
  • used-generator
  • used-functionToString
  • used-setPrototypeOf
  • used-stringNormalize
  • used-fetch
  • used-intl
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago