chore: enable @typescript-eslint/no-floating-promises rule (#260)
This commit is contained in:
parent
586492a3f0
commit
b9dc323734
5 changed files with 12 additions and 4 deletions
|
|
@ -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 [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue