1.0.0 • Published 6 years ago
eslint-config-get-off-my-lawn-prettier v1.0.0
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.
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
- eslint-config-get-off-my-lawn - A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript.
- stylelint-config-get-off-my-lawn - A highly opinionated, sharable config of stylelint rules to produce beautiful, readable CSS and Sass.
License
MIT © Michael Novotny