Skip to content

Commit

Permalink
chore(deps)!: update all non-major dependencies (#172)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: add `jest/require-hook` rule.

Plugin dependency versions:
- `@typescript-eslint/eslint-plugin` ^4.33.0
- `eslint-plugin-jest` ^24.7.0
- `eslint-plugin-jsx-a11y` ^6.4.0
- `eslint-plugin-react` ^7.26.0
- `eslint-plugin-react-hooks` ^4.2.0

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jonathan Zempel <jzempel@gmail.com>
  • Loading branch information
3 people committed Oct 15, 2021
1 parent 8948c27 commit daf7799
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 375 deletions.
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -27,22 +27,22 @@
"eslint-plugin-node": "^11.1.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "4.32.0",
"@typescript-eslint/parser": "4.32.0",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"babel-eslint": "10.1.0",
"eslint": "7.32.0",
"eslint-plugin-jest": "24.5.0",
"eslint-plugin-jest": "24.7.0",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-notice": "0.9.10",
"eslint-plugin-react": "7.26.0",
"eslint-plugin-react": "7.26.1",
"eslint-plugin-react-hooks": "4.2.0",
"husky": "7.0.2",
"jest": "27.2.4",
"jest": "27.2.5",
"prettier-package-json": "2.6.0",
"react": "17.0.2",
"standard-version": "9.3.1",
"typescript": "4.4.3"
"typescript": "4.4.4"
},
"keywords": [
"eslint",
Expand Down
2 changes: 2 additions & 0 deletions plugins/jest.js
Expand Up @@ -77,6 +77,8 @@ module.exports = {
'jest/prefer-to-have-length': 2,
// suggest using `test.todo`
'jest/prefer-todo': 1,
// require setup and teardown code to be within a hook
'jest/require-hook': 2,
// require a message for `toThrow()`
'jest/require-to-throw-message': 0,
// require test cases and hooks to be inside a `describe` block
Expand Down

0 comments on commit daf7799

Please sign in to comment.