eslint jest
This commit is contained in:
+4
-2
@@ -6,7 +6,7 @@ module.exports = {
|
||||
'node': true,
|
||||
'jest/globals': true
|
||||
},
|
||||
'extends': ['eslint:recommended'],
|
||||
'extends': ['eslint:recommended', 'plugin:jest/recommended'],
|
||||
'parserOptions': {
|
||||
'ecmaVersion': 12
|
||||
},
|
||||
@@ -34,6 +34,8 @@ module.exports = {
|
||||
'brace-style': [
|
||||
'error',
|
||||
'1tbs'
|
||||
]
|
||||
],
|
||||
'jest/no-done-callback': 'off',
|
||||
'jest/expect-expect': 'off'
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user