Skip to content

Commit

Permalink
modified eslint to warn: no-misued-promise, require-await
Browse files Browse the repository at this point in the history
  • Loading branch information
adhi0331 committed Jan 17, 2024
1 parent 85b86e8 commit 8af8ce6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
// "@typescript-eslint/ban-ts-comment": "off",
// "@typescript-eslint/no-explicit-any": "off",
// "@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-misused-promises": "warn",
"@typescript-eslint/require-await": "warn",

// Avoid bugs.
"@typescript-eslint/no-shadow": ["error", { "ignoreTypeValueShadow": true }],
Expand Down

0 comments on commit 8af8ce6

Please sign in to comment.