@@ -14,12 +14,9 @@ module.exports = {
1414 } ,
1515 extends : [
1616 'eslint:recommended' ,
17- 'plugin:jest/recommended' ,
18- 'plugin:jest/style' ,
1917 'plugin:@typescript-eslint/recommended' ,
2018 'plugin:@typescript-eslint/recommended-requiring-type-checking' ,
21- 'plugin:prettier/recommended' ,
22- 'plugin:jest-formatting/recommended'
19+ 'plugin:prettier/recommended'
2320 ] ,
2421 rules : {
2522 'prettier/prettier' : 'warn' ,
@@ -51,7 +48,6 @@ module.exports = {
5148 format : [ 'PascalCase' ]
5249 }
5350 ] ,
54- 'jest/expect-expect' : [ 'error' , { assertFunctionNames : [ 'expect' , 'request.**.expect' ] } ] ,
5551 'no-empty' : 'off' ,
5652 'no-irregular-whitespace' : 'error' ,
5753 'no-return-assign' : 'error' ,
@@ -67,10 +63,24 @@ module.exports = {
6763 'prefer-template' : 'error' ,
6864 'prefer-arrow-callback' : 'warn' ,
6965 'linebreak-style' : [ 'error' , 'unix' ] ,
70- ' quotes' : [ 'error' , 'single' ] ,
66+ quotes : [ 'error' , 'single' ] ,
7167 'no-console' : 'error'
7268 } ,
7369 overrides : [
70+ {
71+ files : [ 'test/**' ] ,
72+ plugins : [ 'jest' ] ,
73+ extends : [
74+ 'plugin:jest/recommended' ,
75+ 'plugin:jest/style' ,
76+ 'plugin:jest-formatting/recommended'
77+ ] ,
78+ rules : {
79+ '@typescript-eslint/unbound-method' : 'off' ,
80+ 'jest/unbound-method' : 'error' ,
81+ 'jest/expect-expect' : [ 'error' , { assertFunctionNames : [ 'expect' , 'request.**.expect' ] } ]
82+ }
83+ } ,
7484 {
7585 files : [ 'examples/**/*.*' ] ,
7686 rules : {
0 commit comments