Skip to content

Commit

Permalink
Eslint config: upgrade 'eslint-plugin-jest' to the latest version (22…
Browse files Browse the repository at this point in the history
….6.3)

There was a small hiccup with Typescript dependencies but should be fixed now. See: jest-community/eslint-plugin-jest#269

kiwicom-source-id: 196c2156fa118cb1a6defe708cec484c6fb42d96
  • Loading branch information
Martin Zlámal authored and kiwicom-github-bot committed May 22, 2019
1 parent 6c7b2e7 commit 3176d37
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 @@ -214,6 +214,7 @@ Object {
"jest/expect-expect": 0,
"jest/lowercase-name": 0,
"jest/no-alias-methods": 0,
"jest/no-commented-out-tests": 0,
"jest/no-disabled-tests": 2,
"jest/no-empty-title": 2,
"jest/no-focused-tests": 2,
Expand Down
1 change: 1 addition & 0 deletions ourRules.js
Expand Up @@ -282,6 +282,7 @@ module.exports = {
'jest/expect-expect': OFF,
'jest/lowercase-name': OFF,
'jest/no-alias-methods': OFF,
'jest/no-commented-out-tests': OFF,
'jest/no-disabled-tests': ERROR,
'jest/no-empty-title': ERROR,
'jest/no-focused-tests': 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.9.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-jest": "^22.6.3",
"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 3176d37

Please sign in to comment.