Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

eslint-plugin-get-off-my-lawn

1.0.2 • Public • Published

eslint-plugin-get-off-my-lawn

Highly opinionated, ESLint plugin with custom rules to produce beautiful, readable JavaScript.

eslint-plugin-get-off-my-lawn

Installation

You'll first need to install ESLint:

$ yarn add eslint --dev

Next, install eslint-plugin-get-off-my-lawn:

$ yarn add eslint-plugin-get-off-my-lawn --dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-get-off-my-lawn globally.

Usage

Add get-off-my-lawn to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": ["get-off-my-lawn"]
}

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

{
    "rules": {
        "get-off-my-lawn/rule-name": 2
    }
}

Supported Rules

Related

License

MIT © Michael Novotny

install

npm i eslint-plugin-get-off-my-lawn

Downloadsweekly downloads

629

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability