eslint-plugin-varname

0.0.1 • Public • Published

eslint-plugin-varname

variable name rules

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-varname:

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

Usage

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

{
    "plugins": [
        "varname"
    ]
}

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

{
    "rules": {
        "varname/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-varname

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

2.1 kB

Total Files

4

Last publish

Collaborators

  • winme