1.0.0 • Published 6 years ago

eslint-config-get-off-my-lawn-prettier v1.0.0

Weekly downloads
556
License
MIT
Repository
github
Last release
6 years ago

eslint-config-get-off-my-lawn-prettier

A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript, optimized for seamless use with Prettier.

eslint-config-get-off-my-lawn-prettier

All the crankiness of eslint-config-get-off-my-lawn, but with all the rules that might conflict with Prettier turned off.

Install

$ yarn add eslint eslint-config-get-off-my-lawn-prettier --dev

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-prettier",
        "rules": {
            // enable additional rules, override rule options, or disable rules
        }
    }
}

.eslintrc.js

module.exports = {
    extends: 'get-off-my-lawn-prettier',
    rules: {
        // enable additional rules, override rule options, or disable rules
    }
};

Related

License

MIT © Michael Novotny