Skip to content

Commit 0973b1b

Browse files
Bump eslint-plugin-jest from 26.9.0 to 27.0.1 (#3002)
* Bump eslint-plugin-jest from 26.9.0 to 27.0.1 Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 26.9.0 to 27.0.1. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v26.9.0...v27.0.1) --- updated-dependencies: - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix eslint config Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicolas Stepien <stepien.nicolas@gmail.com>
1 parent b3b88f7 commit 0973b1b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.eslintrc.cjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,14 +427,15 @@ const rules = {
427427
'jest/no-if': 1,
428428
'jest/no-interpolation-in-snapshots': 0,
429429
'jest/no-jasmine-globals': 1,
430-
'jest/no-jest-import': 1,
431430
'jest/no-large-snapshots': 0,
432431
'jest/no-mocks-import': 1,
433432
'jest/no-restricted-matchers': [
434433
1,
435434
{
436435
toBeTruthy: 'Use toBe(true) instead.',
437-
toBeFalsy: 'Use toBe(false) instead.'
436+
'not.toBeTruthy': null,
437+
toBeFalsy: 'Use toBe(false) instead.',
438+
'not.toBeFalsy': null
438439
}
439440
],
440441
'jest/no-standalone-expect': 2,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"css-minimizer-webpack-plugin": "^4.0.0",
7676
"eslint": "^8.14.0",
7777
"eslint-config-prettier": "^8.5.0",
78-
"eslint-plugin-jest": "^26.1.5",
78+
"eslint-plugin-jest": "^27.0.1",
7979
"eslint-plugin-jest-dom": "^4.0.1",
8080
"eslint-plugin-node": "^11.1.0",
8181
"eslint-plugin-react": "^7.29.4",

0 commit comments

Comments
 (0)