Convert no-floating-promises to eslint
This commit is contained in:
parent
ce1e223ece
commit
dceef6bf2b
@ -33,6 +33,7 @@ module.exports = {
|
||||
"@typescript-eslint/no-empty-function": "off",
|
||||
"@typescript-eslint/no-empty-interface": "off",
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-floating-promises": "warn",
|
||||
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
|
||||
"@typescript-eslint/no-unnecessary-type-assertion": "warn",
|
||||
"@typescript-eslint/no-use-before-define": "warn",
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
"no-console": [true, "log"],
|
||||
"no-empty": false,
|
||||
"no-empty-interface": false,
|
||||
"no-floating-promises": true,
|
||||
"no-floating-promises": false,
|
||||
"no-implicit-dependencies": false,
|
||||
"no-parameter-reassignment": false,
|
||||
"no-unnecessary-class": [true, "allow-static-only"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user