@spotify/eslint-plugin
v15.0.0
Published
Set of rules for Spotify's custom ESLint rules
Downloads
27,250
Readme
@spotify/eslint-plugin
This contains all Spotify-specific eslint rules.
Installation
npm install --save-dev eslint @spotify/eslint-plugin
Rules
| Category | Name | Description |
| -------------- | --------------------------------------- | ------------------------------------------------------------------------------------ |
| Best Practices | best-practices/no-discouraged-words
| Prevents usage of specific words. See more. |
Usage
After installing, update your project's .eslintrc.json
config:
{
"plugins": ["@spotify/eslint-plugin"],
}
Read the ESlint config docs for more information.