eslint-plugin-unsaferegex

0.0.11 • Public • Published

eslint-plugin-disable-unsafe-regex

disable-unsafe-regex

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-disable-unsafe-regex:

$ npm install eslint-plugin-disable-unsafe-regex --save-dev

Usage

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

{
    "plugins": [
        "disable-unsafe-regex"
    ]
}

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

{
    "rules": {
        "disable-unsafe-regex/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-unsaferegex

Weekly Downloads

2

Version

0.0.11

License

ISC

Unpacked Size

8.62 kB

Total Files

6

Last publish

Collaborators

  • awen-hub