2021-04-07 15:20:28 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"extends": [
|
2024-09-07 12:49:27 +00:00
|
|
|
"eslint-config-love",
|
2024-05-24 12:08:48 +00:00
|
|
|
"plugin:lit/recommended"
|
2021-04-07 15:20:28 +00:00
|
|
|
],
|
|
|
|
"globals": {},
|
2021-04-07 16:14:58 +00:00
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
"project": [
|
|
|
|
"./client/tsconfig.json"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
2021-04-07 15:20:28 +00:00
|
|
|
"ignorePatterns": [],
|
|
|
|
"rules": {
|
2021-04-07 16:14:58 +00:00
|
|
|
"@typescript-eslint/no-unused-vars": [2, {"argsIgnorePattern": "^_"}],
|
|
|
|
"@typescript-eslint/no-floating-promises": "error",
|
|
|
|
"@typescript-eslint/no-misused-promises": "error",
|
|
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
|
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
|
|
"@typescript-eslint/return-await": [2, "in-try-catch"], // FIXME: correct?
|
|
|
|
"@typescript-eslint/no-invalid-void-type": "off",
|
|
|
|
"@typescript-eslint/triple-slash-reference": "off",
|
|
|
|
"max-len": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"code": 120,
|
|
|
|
"comments": 120
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"no-unused-vars": "off"
|
|
|
|
}
|
2021-04-07 15:20:28 +00:00
|
|
|
}
|