1.0.0 • Published 5 years ago
minimal-eslint v1.0.0
Minimal ESLint Config Generator
Generates the most minimal ESLint config possible. Useful when you just want to catch some errors, but allows you to add rules later.
Run npx minimal-eslint
in your directory to create an .eslintrc
file containing:
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"extends": "eslint:recommended",
"rules": {
"no-console": "warn"
}
}
It will warn you if you don't have the eslint
package installed as a (dev)dependency.
1.0.0
5 years ago