2,
{
"SwitchCase": 1,
- "MemberExpression": "off"
+ "MemberExpression": "off",
+ // https://github.com/eslint/eslint/issues/15299
+ "ignoredNodes": ["PropertyDefinition"]
}
],
"@typescript-eslint/consistent-type-assertions": [
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-extraneous-class": "off",
"@typescript-eslint/no-use-before-define": "off",
+
+ "require-await": "off",
+ "@typescript-eslint/require-await": "error",
+
// bugged but useful
"@typescript-eslint/restrict-plus-operands": "off"
},
"node_modules/"
],
"parserOptions": {
+ "EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true,
"project": [
"./tsconfig.json",
+ "./shared/tsconfig.json",
+ "./scripts/tsconfig.json",
+ "./server/tsconfig.json",
"./server/tools/tsconfig.json"
]
}