eslint-config-wild
v0.2.8
Published
wild's ESLint config
Downloads
140
Readme
eslint-config-wild
To use it in your project, you only need to install this package (it has eslint and all other things you need listed as a dependecy in it):
npm i -D eslint-config-wild
Then, edit your projects package.json
:
"eslintConfig": {
"extends": "wild"
}
Then you have a config that your editor-plugin of choice can read and if you want to fire it via CLI, here are a few suggestions:
"scripts": {
"lint": "npm run lint:js",
"lint:js": "npm run lint:eslint -- . ",
"lint:eslint": "eslint --ignore-path .gitignore",
"lint:staged": "lint-staged"
},
"lint-staged": {
"*.js": "lint:eslint"
},