@byndyusoft/eslint-config
v3.0.0
Published
ESLint config for Byndyusoft projects
Downloads
511
Readme
eslint-config
Requirements
- ESLint v8.57.0 or later, but less than v9.0.0
Install
$ npm i eslint@^8.57.0 --save-dev
$ npm i eslint @byndyusoft/eslint-config --save-dev
Note: If you have React project created with create-react-app, then you haven't install eslint manually, because it comes with react-scripts. Otherwise it won't let you run eslint until you remove it from package.json
.
Usage
Backend
Node + TypeScript/JavaScript + Jest
{
"extends": [
"@byndyusoft/eslint-config/backend"
]
}
package.json
{
"engines": {
"node": ">=8.10.0"
}
}
Frontend
React + TypeScript/JavaScript + Jest
{
"extends": [
"@byndyusoft/eslint-config/frontend"
]
}