node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

eslint-config-get-off-my-lawn

eslint-config-get-off-my-lawn Build Status

A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript.

eslint-config-get-off-my-lawn

As developers, we spend more time reading code than writing it. These rules aim to make reading JavaScript a priority.

That means some rules will feel oppressive or "over the top" for many developers, which is fine. If you don't like it, you can get off my lawn! ... Or extend the rules and override them with the ones that bother you. Either way.

This config also comes with the following plugins, and corresponding rules, baked in.

Each and every single rule has been meticulously poured over and purposefully hand picked or excluded.

Install

$ npm i --save-dev eslint-config-get-off-my-lawn

Usage

Create an ESLint config in your package.json or .eslintrc.js file.

package.json

{
    "name": "my-awesome-project",
    "eslintConfig": {
        "extends": "get-off-my-lawn"
    }
}

.eslintrc.js

module.exports = {
    extends: 'get-off-my-lawn'
};

Related

License

MIT © Michael Novotny