1.0.21 • Published 2 months ago
@brainylab/eslint-config v1.0.21
BrainyLab eslint-config
this is the base configuration of ESLint is used in the Projects made by BrainyLab Development.
Install Config
usage npm
# npm
npm i --save-dev eslint prettier @brainylab/eslint-config
#yarn
yarn add -D eslint prettier @brainylab/eslint-config
#pnpm
pnpm add -D eslint prettier @brainylab/eslint-config
Usage Config
create file .eslintrc.json in main project folder, add the lines below in the file.
config node project
{
"extends": "@brainylab/eslint-config/node"
}
config react project
{
"extends": "@brainylab/eslint-config/react"
}
config react-native project
{
"extends": "@brainylab/eslint-config/react-native"
}
config next project
{
"extends": "@brainylab/eslint-config/next"
}
Config VS Code to auto fix
create ou alter .vscode/settings.json
.
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
License
MIT
1.0.21
2 months ago
1.0.20
4 months ago
1.0.19
4 months ago
1.0.18
4 months ago
1.0.17
4 months ago
1.0.16
4 months ago
1.0.15
4 months ago
1.0.14
5 months ago
1.0.13
5 months ago
1.0.12
5 months ago
1.0.11
5 months ago
1.0.9
5 months ago
1.0.8
5 months ago
1.0.7
6 months ago
1.0.6
6 months ago
1.0.5
6 months ago
1.0.4
6 months ago
1.0.3
6 months ago
1.0.2
6 months ago
1.0.1
6 months ago
0.0.1
6 months ago
0.1.5
3 years ago