Set of rules for Spotify's custom ESLint rules
npm install @spotify/eslint-pluginThis contains all Spotify-specific eslint rules.
``sh`
npm install --save-dev eslint @spotify/eslint-plugin
| Category | Name | Description |
| -------------- | --------------------------------------- | ------------------------------------------------------------------------------------ |
| Best Practices | [best-practices/no-discouraged-words] | Prevents usage of specific words. [See more][best-practices/no-discouraged-words]. |
[best-practices/no-discouraged-words]: https://github.com/spotify/web-scripts/blob/master/packages/eslint-spotify/src/rules/best-practices/no-discouraged-words.md
After installing, update your project's .eslintrc.json config:
`js``
{
"plugins": ["@spotify/eslint-plugin"],
}
---
Read the ESlint config docs for more information.