Skip to content

Commit

Permalink
chore: disabled compat/compat in test files (ant-design#44496)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadCcc committed Aug 29, 2023
1 parent fec423e commit c70ba36
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ module.exports = {
'comma-dangle': 0,
},
},
{
files: ['**/*.test.ts', '**/*.test.tsx', '**/*.spec.ts', '**/*.spec.tsx'],
rules: {
'compat/compat': 0,
},
},
],
rules: {
'react/jsx-one-expression-per-line': 0,
Expand Down

0 comments on commit c70ba36

Please sign in to comment.