1.0.40 • Published 6 months ago
@npm.piece/eslint-config v1.0.40
ESLint config for clear code
Install
npm i @npm.piece/eslint-config -D
yarn add @npm.piece/eslint-config -D
Create .eslintrc near package.json file
{
"extends": [
"@npm.piece/eslint-config"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
}
}
Add line to your tsconfig.json file
"include": [
"src",
"."
]