43 lines
843 B
JSON
43 lines
843 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"google"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"require-jsdoc": "off",
|
|
"quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"indent": [
|
|
"error",
|
|
4,
|
|
{
|
|
"SwitchCase": 1,
|
|
"FunctionDeclaration": {
|
|
"parameters": "first"
|
|
}
|
|
}
|
|
],
|
|
"max-len": [
|
|
"error",
|
|
120
|
|
]
|
|
},
|
|
"ignorePatterns": ["dist/**/*"]
|
|
} |