🔨 ESLint configuration of my style. All rules was defined.
- Install:
npm install -D @babel/eslint-parser
- Set parser in
.eslintrc.js
:
{
"parser": "@babel/eslint-parser",
}
Compatible with ESLint v8.17.0
.
npm install -D eslint eslint-config-piecioshka
Add some ESLint config to your package.json
:
{
"scripts": {
"lint": "eslint ."
},
"devDependencies": {
"eslint": "latest",
"eslint-config-piecioshka": "latest"
},
"eslintConfig": {
"extends": "piecioshka"
}
}
Then just run npm run lint
.
The MIT License @ 2015-2024