From b2ff8be51132e1ac5d2fb7582a584be51a8848e0 Mon Sep 17 00:00:00 2001 From: Binur Konarbai Date: Mon, 28 Jan 2019 20:44:23 +0600 Subject: [PATCH] fix(jest): fix "jest/globals" is unknown 'jest/globals' env now is unknown for eslint. Used 'jest' instead like it was suggested here https://github.com/jest-community/eslint-plugin-jest/issues/44#issue-286150080 --- packages/eslint-config/jest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config/jest.js b/packages/eslint-config/jest.js index cbcc0d3..e0301c3 100644 --- a/packages/eslint-config/jest.js +++ b/packages/eslint-config/jest.js @@ -1,7 +1,7 @@ module.exports = { plugins: ['jest'], env: { - 'jest/globals': true, + jest: true, }, rules: { 'max-nested-callbacks': 'off',