0.0.16 • Published 2 years ago
@andwin/eslint-config v0.0.16
My eslint config
Installataion
Install the package as a development dependency
npm i @andwin/eslint-config -DCreate a .eslintrc file with the following content
{
"extends": "@andwin/eslint-config"
}Add a test config to your package.json
"scripts": {
"test" : "eslint ."
},You can have multiple tests like this
"scripts": {
"test" : "eslint . && jest"
},Run the tests like this npm test
Updating to the latest version of this package
npm i @andwin/eslint-config@latest -DUpdate eslint dependencies in this package
npx install-peerdeps eslint-config-airbnb