Skip to content

Commit

Permalink
fix: @typescript-eslint/no-floating-promises rule not working due to …
Browse files Browse the repository at this point in the history
…missing TS project config (#19)
  • Loading branch information
mfeltscher authored Oct 17, 2023
1 parent 5f5c469 commit ce4e600
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
Expand Down Expand Up @@ -26,6 +27,7 @@ module.exports = {
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
project: true,
},
extends: [
'eslint:recommended',
Expand Down
1 change: 1 addition & 0 deletions .eslintrc.react.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
rules: {
'react/react-in-jsx-scope': 'off',
Expand Down

0 comments on commit ce4e600

Please sign in to comment.