Skip to content

Commit

Permalink
Merge pull request #1065 from chromaui/cody/cap-2261-enable-typescrip…
Browse files Browse the repository at this point in the history
…t-eslintno-floating-promises

Enable `@typescript-eslint/no-floating-promises` ESLint rule
  • Loading branch information
codykaup authored Sep 30, 2024
2 parents 38a7b49 + 794c543 commit 2f6a0a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ export default [
// TODO: make this an error when we have time to deal with it
'@typescript-eslint/no-explicit-any': 'off',
// '@typescript-eslint/no-explicit-any': 'warn',
// TODO: make this an error when we have time to deal with it
'@typescript-eslint/no-floating-promises': 'warn',
'@typescript-eslint/no-floating-promises': 'error',
},
},
{
Expand Down

0 comments on commit 2f6a0a4

Please sign in to comment.