Skip to content

Commit

Permalink
feat(jest): add new rules for jest & update eslint-plugin-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrox committed Feb 9, 2019
1 parent 9a73df0 commit 53dd30f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ module.exports = {
'jest/prefer-inline-snapshots': 'off',
'jest/prefer-strict-equal': 'off',
'jest/prefer-spy-on': 'off',
'jest/prefer-todo': 'warn',
'jest/no-truthy-falsy': 'warn',
},
env: {
'jest/globals': true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"eslint-import-resolver-webpack": "^0.11.0",
"eslint-plugin-babel": "^5.2.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^21.22.0",
"eslint-plugin-jest": "^22.2.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.11.1",
"read-pkg-up": "^4.0.0",
Expand Down

0 comments on commit 53dd30f

Please sign in to comment.