Skip to content

Commit

Permalink
Monorepo: upgrade dependencies
Browse files Browse the repository at this point in the history
The new eslint rule `jest/no-mocks-import` is disabled for now because of some issue with dynamic imports. See: jest-community/eslint-plugin-jest#249

kiwicom-source-id: 7b3cacb71cb79871f9caf2b3f3677500b0111796
  • Loading branch information
Automator authored and kiwicom-github-bot committed Apr 24, 2019
1 parent e0cc36a commit d9fd891
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions __tests__/__snapshots__/index.test.js.snap
Expand Up @@ -205,6 +205,7 @@ Object {
"jest/no-jasmine-globals": 2,
"jest/no-jest-import": 2,
"jest/no-large-snapshots": 0,
"jest/no-mocks-import": 0,
"jest/no-test-callback": 0,
"jest/no-test-prefixes": 0,
"jest/no-test-return-statement": 2,
Expand Down
1 change: 1 addition & 0 deletions ourRules.js
Expand Up @@ -276,6 +276,7 @@ module.exports = {
'jest/no-jasmine-globals': ERROR,
'jest/no-jest-import': ERROR,
'jest/no-large-snapshots': OFF,
'jest/no-mocks-import': OFF, // TODO: NEXT_VERSION_ERROR after https://github.com/jest-community/eslint-plugin-jest/pull/249
'jest/no-test-callback': OFF,
'jest/no-test-prefixes': OFF,
'jest/no-test-return-statement': ERROR,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -18,7 +18,7 @@
"eslint-plugin-eslint-comments": "^3.1.1",
"eslint-plugin-flowtype": "^3.6.1",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-jest": "^22.5.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-kiwicom-incubator": "^0.5.0",
"eslint-plugin-monorepo": "^0.2.1",
Expand Down

0 comments on commit d9fd891

Please sign in to comment.