Skip to content

Commit

Permalink
feat: enforce await-thenable eslint rule and update tsconfig.test.json (
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorShadurin authored Oct 28, 2023
1 parent b760012 commit a26dadc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
},
plugins: ['jest', 'unused-imports'],
rules: {
'@typescript-eslint/await-thenable': 'error',
'array-bracket-newline': ['error', 'consistent'],
strict: ['error', 'safe'],
'block-scoped-var': 'error',
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"include": [
"src",
"test",
"jest.config.ts"
"jest.config.ts",
".eslintrc.js",
],
"compilerOptions": {
"noEmit": true,
Expand Down

0 comments on commit a26dadc

Please sign in to comment.