2016-03-20 03:07:47 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
2019-04-10 02:07:19 +00:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended"
|
|
|
|
],
|
2016-03-20 03:07:47 +00:00
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
"error",
|
2018-06-22 04:58:56 +00:00
|
|
|
4,
|
2016-08-04 04:36:35 +00:00
|
|
|
{
|
|
|
|
"SwitchCase" : 1
|
|
|
|
}
|
2016-03-20 03:07:47 +00:00
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2018-01-01 00:54:11 +00:00
|
|
|
"comma-dangle": 0,
|
|
|
|
"no-trailing-spaces" :"warn"
|
2022-03-28 22:52:52 +00:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2020
|
2016-03-20 03:07:47 +00:00
|
|
|
}
|
|
|
|
}
|