Skip to content
This repository was archived by the owner on Mar 29, 2020. It is now read-only.

Commit 23f24ac

Browse files
binchikyenbekbay
authored andcommitted
fix(jest): fix "jest/globals" is unknown (#52)
'jest/globals' env now is unknown for eslint. Used 'jest' instead like it was suggested here jest-community/eslint-plugin-jest#44 (comment)
1 parent 96b540d commit 23f24ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-config/jest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
plugins: ['jest'],
33
env: {
4-
'jest/globals': true,
4+
jest: true,
55
},
66
rules: {
77
'max-nested-callbacks': 'off',

0 commit comments

Comments
 (0)