1.0.4 • Published 2 years ago
@releaseband/eslint-config v1.0.4
@releaseband/eslint-config
eslint shareable config
Installing
npm i -D @releaseband/eslint-config
npx install-peerdeps --dev @releaseband/eslint-config
create .eslintrc.json
file in the root project folder:
{
"extends": ["@releaseband/eslint-config"]
}
create .eslintignore
file in the root project folder and add ignore files:
node_modules/
.idea/
.vscode/
.history/
add script in package.json
:
{
"scripts": {
"lint": "eslint --ext .js --fix ."
}
}