1.8.0 • Published 2 years ago
@chiwaukee/eslint-config v1.8.0
@chiwaukee/eslint-config
Usage
npm i --save-dev @chiwaukee/eslint-config
in .eslintrc.js
:
module.exports = {
extends: '@chiwaukee'
}
Add a lint
script to your package.json
that looks like:
"lint": "eslint --fix 'src/**/*.{js,ts,tsx}'",
That command will fix auto-fixable issues on JS and typescript files, and error out if there are any issues.