2022-07-13 16:36:48 +00:00
|
|
|
{
|
2023-01-10 17:07:18 +00:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"es2021": false,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest"
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-var": "error",
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"arrow-spacing": "error",
|
|
|
|
"array-bracket-spacing": [
|
|
|
|
"error",
|
2023-01-10 17:13:29 +00:00
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"objectsInArrays": false,
|
|
|
|
"arraysInArrays": false
|
|
|
|
}
|
2023-01-10 17:07:18 +00:00
|
|
|
],
|
|
|
|
"array-bracket-newline": [
|
|
|
|
"error",
|
|
|
|
"consistent"
|
|
|
|
],
|
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"object-curly-newline": [
|
|
|
|
"error",
|
2022-07-13 16:36:48 +00:00
|
|
|
{
|
2023-01-10 17:07:18 +00:00
|
|
|
"consistent": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"space-before-blocks": [
|
|
|
|
"error",
|
|
|
|
"always"
|
2022-07-13 16:36:48 +00:00
|
|
|
]
|
2023-01-10 17:07:18 +00:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"./assets/**/*.js"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"commonjs": false,
|
|
|
|
"node": false
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2022-07-13 16:36:48 +00:00
|
|
|
}
|