Skip to content

Commit

Permalink
docs: update eslint pattern matching (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasBonduel committed Dec 11, 2023
1 parent b9fef59 commit c9b5712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ module.exports = {
overrides: [
{
// 3) Now we enable eslint-plugin-testing-library rules or preset only for matching testing files!
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
files: ['**/__tests__/**/*.[jt]sx?', '**/?(*.)+(spec|test).[jt]sx?'],
extends: ['plugin:testing-library/react'],
},
],
Expand Down

0 comments on commit c9b5712

Please sign in to comment.