Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit c9b5712

Browse files
docs: update eslint pattern matching (testing-library#851)
1 parent b9fef59 commit c9b5712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ module.exports = {
9999
overrides: [
100100
{
101101
// 3) Now we enable eslint-plugin-testing-library rules or preset only for matching testing files!
102-
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
102+
files: ['**/__tests__/**/*.[jt]sx?', '**/?(*.)+(spec|test).[jt]sx?'],
103103
extends: ['plugin:testing-library/react'],
104104
},
105105
],

0 commit comments

Comments
 (0)