Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

deps: update dependency eslint-plugin-jest to v27. #122

Merged
merged 2 commits into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.9.0",
"eslint-plugin-jest": "^27.0.1",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/eslint-config/src/rules/jest-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const jestRules: eslint.Linter.Config['rules'] = {
'jest/consistent-test-it': 'off', // have control over test and it usages
'jest/expect-expect': 'warn', // enforce assertion to be made in a test body
'jest/max-nested-describe': ['error', { max: 3 }], // enforces a maximum depth to nested describe calls
'jest/no-alias-methods': 'warn', // disallow alias methods
'jest/no-alias-methods': 'error', // disallow alias methods
'jest/no-commented-out-tests': 'warn', // disallow commented out tests
'jest/no-conditional-expect': 'error', // prevent calling expect conditionally
'jest/no-conditional-in-test': 'off', // disallow conditional logic in tests
Expand All @@ -31,7 +31,6 @@ const jestRules: eslint.Linter.Config['rules'] = {
'jest/no-identical-title': 'error', // disallow identical titles
'jest/no-interpolation-in-snapshots': 'error', // disallow string interpolation inside snapshots
'jest/no-jasmine-globals': 'error', // disallow Jasmine globals
'jest/no-jest-import': 'error', // disallow importing Jest
'jest/no-large-snapshots': 'off', // disallow large snapshots
'jest/no-mocks-import': 'error', // disallow manually importing from __mocks__
'jest/no-restricted-matchers': 'off', // disallow specific matchers & modifiers
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7157,7 +7157,7 @@ __metadata:
eslint-config-prettier: ^8.5.0
eslint-import-resolver-typescript: ^3.5.0
eslint-plugin-import: ^2.26.0
eslint-plugin-jest: ^26.9.0
eslint-plugin-jest: ^27.0.1
eslint-plugin-jsx-a11y: ^6.6.1
eslint-plugin-node: ^11.1.0
eslint-plugin-prettier: ^4.2.1
Expand Down Expand Up @@ -7273,20 +7273,20 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-jest@npm:^26.9.0":
version: 26.9.0
resolution: "eslint-plugin-jest@npm:26.9.0"
"eslint-plugin-jest@npm:^27.0.1":
version: 27.0.1
resolution: "eslint-plugin-jest@npm:27.0.1"
dependencies:
"@typescript-eslint/utils": ^5.10.0
peerDependencies:
"@typescript-eslint/eslint-plugin": ^5.0.0
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
"@typescript-eslint/eslint-plugin":
optional: true
jest:
optional: true
checksum: 6d5fd5c95368f1ca2640389aeb7ce703d6202493c3ec6bdedb4eaca37233710508b0c75829e727765a16fd27029a466d34202bc7f2811c752038ccbbce224400
checksum: 269d4dc46bb925eb4c19106fd9e03775a863f53e05716628cc47777abc15887775ee47d73c4f8bdd98bb26b7462d8d8f654610bb2a367f8c97881204a2c3f42e
languageName: node
linkType: hard

Expand Down