Skip to content

Commit

Permalink
Add overrides for test files
Browse files Browse the repository at this point in the history
  • Loading branch information
ttsukagoshi committed Sep 18, 2023
1 parent 553f9c5 commit 4adb646
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,20 @@ extends:
- 'plugin:prettier/recommended'
- 'plugin:@typescript-eslint/recommended-type-checked'
- 'plugin:@typescript-eslint/stylistic-type-checked'
overrides:
- {
files: ['test/**'],
plugins: ['jest'],
extends: ['plugin:jest/recommended'],
rules:
{
'@typescript-eslint/unbound-method': 'off',
'jest/unbound-method': 'error',
},
}
plugins:
- '@typescript-eslint'
- 'jest'
#########
# Rules #
#########
Expand Down

0 comments on commit 4adb646

Please sign in to comment.