Skip to content

Commit

Permalink
feat(typescript): add project configuration
Browse files Browse the repository at this point in the history
some typescript rules require the path to the project tsconfig files
  • Loading branch information
sebtiz13 committed Aug 2, 2023
1 parent 465fdc8 commit 3992e17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/backend/lib/configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: ['**/tsconfig.json', '**/tsconfig.*.json'],
},
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down

0 comments on commit 3992e17

Please sign in to comment.