chore: enable @typescript-eslint/no-floating-promises rule (#260)

This commit is contained in:
Max Schmitt 2025-04-23 16:03:30 +02:00 committed by GitHub
parent 586492a3f0
commit b9dc323734
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 4 deletions

View file

@ -33,6 +33,7 @@ const plugins = {
};
export const baseRules = {
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-unused-vars": [
2,
{ args: "none", caughtErrors: "none" },
@ -184,6 +185,9 @@ const languageOptions = {
parser: tsParser,
ecmaVersion: 9,
sourceType: "module",
parserOptions: {
project: path.join(fileURLToPath(import.meta.url), "..", "tsconfig.all.json"),
}
};
export default [