26 lines
541 B
JSON
26 lines
541 B
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": ["eslint:recommended", "prettier"],
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"linebreak-style": ["error", "unix"],
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "always"],
|
|
"comma-dangle": 0,
|
|
"no-trailing-spaces": "error",
|
|
"no-control-regex": 0
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020
|
|
}
|
|
}
|