Skip to content

Commit

Permalink
fix(react): Disabled react/display in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Sep 5, 2024
1 parent cf7be60 commit 9addbeb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ export function prepareConfig({ a11y = false, nextjs = false } = {}) {
{
name: 'dtrw:react:test',
files: testFiles,
rules: { 'react-hooks/rules-of-hooks': 'off' }
rules: {
'react-hooks/rules-of-hooks': 'off',
'react/display-name': 'off'
}
}
);
const nextConfig = tseslint.config(
Expand Down

0 comments on commit 9addbeb

Please sign in to comment.