Skip to content

Commit

Permalink
chore: off exhaustive-deps and ban-ts-comment for testing files
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung committed Oct 31, 2023
1 parent 06385c8 commit 042cad1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions taier-ui/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,14 @@ module.exports = {
'@typescript-eslint/no-non-null-assertion': 'off',
// Turn it to warn temporarily since there are some code have to use this comment to skip ts checker
'@typescript-eslint/ban-ts-comment': 'warn',
'react-hooks/exhaustive-deps': 'off',
},
overrides: [
{
files: ['**/*.test.{ts,tsx}'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
},
},
],
};

0 comments on commit 042cad1

Please sign in to comment.