2022-01-17 07:47:19 +08:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"es2021": true
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"google"
|
|
|
|
],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"linebreak-style": "off",
|
|
|
|
"object-curly-spacing": "off",
|
|
|
|
"max-len": "off",
|
|
|
|
"require-jsdoc": "off",
|
|
|
|
"indent": ["error", 4],
|
|
|
|
"no-multi-spaces": "off",
|
|
|
|
"no-array-constructor": "off",
|
|
|
|
"guard-for-in": "off",
|
2022-02-12 08:59:14 +08:00
|
|
|
"func-call-spacing": "off",
|
|
|
|
"no-trailing-spaces": "off",
|
|
|
|
"new-cap": "off",
|
|
|
|
"no-console": "error",
|
|
|
|
"no-unused-vars": "warn"
|
2022-01-17 07:47:19 +08:00
|
|
|
}
|
|
|
|
}
|