2016-03-20 03:07:47 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
2023-01-13 15:23:03 +00:00
|
|
|
"extends": ["eslint:recommended", "plugin:json/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
|
|
|
{
|
2022-06-05 20:04:25 +00:00
|
|
|
"SwitchCase": 1
|
2016-08-04 04:36:35 +00:00
|
|
|
}
|
2016-03-20 03:07:47 +00:00
|
|
|
],
|
2022-06-05 20:04:25 +00:00
|
|
|
"linebreak-style": ["error", "unix"],
|
|
|
|
"quotes": ["error", "single"],
|
|
|
|
"semi": ["error", "always"],
|
2018-01-01 00:54:11 +00:00
|
|
|
"comma-dangle": 0,
|
2023-01-07 20:48:12 +00:00
|
|
|
"no-trailing-spaces": "error",
|
|
|
|
"no-control-regex": 0
|
2022-03-28 22:52:52 +00:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2020
|
2016-03-20 03:07:47 +00:00
|
|
|
}
|
2022-06-05 20:04:25 +00:00
|
|
|
}
|