eslint-plugin-sx-code-rules

0.0.14 • Public • Published

eslint-plugin-sx-code-rules

code style

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-sx-code-rules:

npm install eslint-plugin-sx-code-rules --save-dev

Usage

Add sx-code-rules to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "sx-code-rules"
    ]
}

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

{
    "rules": {
        "sx-code-rules/camel-case-identifier": 2,
        "sx-code-rules/global-variable-detection": 2,
        "sx-code-rules/local-variable-detection": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-sx-code-rules

Weekly Downloads

0

Version

0.0.14

License

ISC

Unpacked Size

12.6 kB

Total Files

13

Last publish

Collaborators

  • keliu