Skip to content

Commit c12e65d

Browse files
authoredAug 22, 2023
fix: test file pattern
1 parent 3ba455d commit c12e65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/eslint-config-ts/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const typescriptOverride = {
6060
*/
6161
const jestOverride = {
6262
// https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/unbound-method.md
63-
files: ["**/__tests__/**/*.ts", "**/*.spec.ts", "**/*.test.ts"],
63+
files: ["*.spec.ts", "*.test.ts"],
6464
plugins: ["jest"],
6565
rules: {
6666
// you should turn the original rule off *only* for test files

0 commit comments

Comments
 (0)
Please sign in to comment.