eslint-plugin-sentry

2.7.0 • Public • Published

eslint-plugin-sentry

sentry.io eslint plugin

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-sentry:

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

Note: 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

/eslint-plugin-sentry/

    Package Sidebar

    Install

    npm i eslint-plugin-sentry

    Weekly Downloads

    3,772

    Version

    2.7.0

    License

    ISC

    Unpacked Size

    26.6 kB

    Total Files

    12

    Last publish

    Collaborators

    • haza
    • sentry-bot
    • mitsuhiko
    • zeeg
    • leedongwei
    • evanpurkhiser
    • billyvg
    • jauer
    • markstory