eslint-plugin-sentry
v2.10.0
Published
sentry.io eslint plugin
Downloads
16,784
Readme
eslint-plugin-sentry
sentry.io eslint plugin
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-sentry:
$ npm install eslint-plugin-sentry --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-sentry globally.
Usage
Add sentry to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"sentry"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"sentry/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
