diff --git a/README.md b/README.md index 24125f8d..a781b22a 100644 --- a/README.md +++ b/README.md @@ -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]sx?', '**/?(*.)+(spec|test).[jt]sx?'], + files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'], extends: ['plugin:testing-library/react'], }, ],