Skip to content

Commit 7ecbae2

Browse files
authored
Merge pull request #1531 from jest-community/next
Next major
2 parents 9854767 + 37f1d69 commit 7ecbae2

File tree

124 files changed

+2500
-2118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+2500
-2118
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module.exports = {
9898
globals,
9999
},
100100
{
101-
files: ['src/**/*', 'dangerfile.ts', 'tools/*'],
101+
files: ['src/**/*', 'dangerfile.ts', 'tools/*', './jest.config.ts'],
102102
parserOptions: {
103103
sourceType: 'module',
104104
},

.github/workflows/nodejs.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,16 @@ jobs:
7171
strategy:
7272
fail-fast: false
7373
matrix:
74-
node-version: [14.x, 16.x, 18.x, 19.x, 20.x, 21.x]
75-
eslint-version: [7, 8]
76-
ts-eslint-plugin-version: [5, 6, 7]
74+
node-version: [16.x, 18.x, 20.x, 21.x]
75+
eslint-version: [7, 8, 9]
76+
ts-eslint-plugin-version: [6, 7]
7777
exclude:
78-
# ts-eslint/plugin@6 doesn't support node@14
79-
- node-version: 14.x
80-
ts-eslint-plugin-version: 6
81-
# ts-eslint/plugin@7 doesn't support node@14
82-
- node-version: 14.x
83-
ts-eslint-plugin-version: 7
8478
# ts-eslint/plugin@7 doesn't support node@16
8579
- node-version: 16.x
8680
ts-eslint-plugin-version: 7
87-
# ts-eslint/plugin@7 doesn't support node@19
88-
- node-version: 19.x
89-
ts-eslint-plugin-version: 7
81+
# eslint@9 doesn't support node@16
82+
- node-version: 16.x
83+
eslint-version: 9
9084
# ts-eslint/plugin@7 doesn't support eslint@7
9185
- eslint-version: 7
9286
ts-eslint-plugin-version: 7
@@ -109,7 +103,7 @@ jobs:
109103
yarn add --dev eslint@${{ matrix.eslint-version }} @typescript-eslint/eslint-plugin@${{ matrix.ts-eslint-plugin-version }} @typescript-eslint/parser@${{ matrix.ts-eslint-plugin-version }}
110104
- name: run tests
111105
# only collect coverage on eslint versions that support dynamic import
112-
run: yarn test --coverage ${{ matrix.eslint-version >= 8 }}
106+
run: yarn test --coverage ${{ matrix.eslint-version == 8 }}
113107
env:
114108
CI: true
115109
- uses: codecov/codecov-action@v3

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,78 @@
1+
# [28.0.0-next.7](https://github.com/jest-community/eslint-plugin-jest/compare/v28.0.0-next.6...v28.0.0-next.7) (2024-04-06)
2+
3+
4+
### Bug Fixes
5+
6+
* allow ESLint 9 as peer dependency ([#1547](https://github.com/jest-community/eslint-plugin-jest/issues/1547)) ([3c5e167](https://github.com/jest-community/eslint-plugin-jest/commit/3c5e1673afd02dc2c9b90d259c0452326715ae6c))
7+
* drop support for Node 19 ([#1548](https://github.com/jest-community/eslint-plugin-jest/issues/1548)) ([c87e388](https://github.com/jest-community/eslint-plugin-jest/commit/c87e3887e736c40d1460af9cdbdffe30f79fdaea))
8+
9+
10+
### BREAKING CHANGES
11+
12+
* Node v19 is no longer supported
13+
14+
# [28.0.0-next.6](https://github.com/jest-community/eslint-plugin-jest/compare/v28.0.0-next.5...v28.0.0-next.6) (2024-03-29)
15+
16+
17+
### Bug Fixes
18+
19+
* **no-large-snapshots:** avoid `instanceof RegExp` check for ESLint v9 compatibility ([#1542](https://github.com/jest-community/eslint-plugin-jest/issues/1542)) ([af4a9c9](https://github.com/jest-community/eslint-plugin-jest/commit/af4a9c94d624b5db4643c994f5bec96b0cb889b8))
20+
21+
# [28.0.0-next.5](https://github.com/jest-community/eslint-plugin-jest/compare/v28.0.0-next.4...v28.0.0-next.5) (2024-03-27)
22+
23+
24+
### Features
25+
26+
* remove `snapshot` processor and `flat/snapshot` config ([#1532](https://github.com/jest-community/eslint-plugin-jest/issues/1532)) ([98087f9](https://github.com/jest-community/eslint-plugin-jest/commit/98087f9bb27082f9fbda59a56c65536fb9d8a0dc))
27+
28+
29+
### BREAKING CHANGES
30+
31+
* removed unneeded `snapshot` processor and `flat/snapshot` config
32+
33+
# [28.0.0-next.4](https://github.com/jest-community/eslint-plugin-jest/compare/v28.0.0-next.3...v28.0.0-next.4) (2024-03-23)
34+
35+
36+
### Features
37+
38+
* drop support for `@typescript-eslint/eslint-plugin` v5 ([#1530](https://github.com/jest-community/eslint-plugin-jest/issues/1530)) ([150e355](https://github.com/jest-community/eslint-plugin-jest/commit/150e3558a637b49ddd76d362f88332b30f78dc5c))
39+
40+
41+
### BREAKING CHANGES
42+
43+
* dropped support for `@typescript-eslint/eslint-plugin` v5
44+
45+
# [28.0.0-next.3](https://github.com/jest-community/eslint-plugin-jest/compare/v28.0.0-next.2...v28.0.0-next.3) (2024-03-22)
46+
47+
48+
### Features
49+
50+
* upgrade `@typescript-eslint/utils` to v6 ([#1508](https://github.com/jest-community/eslint-plugin-jest/issues/1508)) ([dc6e8cd](https://github.com/jest-community/eslint-plugin-jest/commit/dc6e8cd249817de585b50e473c2146e1542dd146))
51+
52+
# [28.0.0-next.2](https://github.com/jest-community/eslint-plugin-jest/compare/v28.0.0-next.1...v28.0.0-next.2) (2024-03-21)
53+
54+
55+
### Features
56+
57+
* drop support for Node v14 ([#1527](https://github.com/jest-community/eslint-plugin-jest/issues/1527)) ([df5e580](https://github.com/jest-community/eslint-plugin-jest/commit/df5e58081d1bd15fbed8bd22f6c03d5f350d73b6))
58+
59+
60+
### BREAKING CHANGES
61+
62+
* dropped support for Node v14
63+
64+
# [28.0.0-next.1](https://github.com/jest-community/eslint-plugin-jest/compare/v27.9.0...v28.0.0-next.1) (2024-03-21)
65+
66+
67+
### Features
68+
69+
* remove `no-if` rule ([#1528](https://github.com/jest-community/eslint-plugin-jest/issues/1528)) ([f976fc8](https://github.com/jest-community/eslint-plugin-jest/commit/f976fc8c71fc5e9f55cd5ae09092f15ee277fd2c))
70+
71+
72+
### BREAKING CHANGES
73+
74+
* removed `no-if` in favor of `no-conditional-in-test`
75+
176
# [27.9.0](https://github.com/jest-community/eslint-plugin-jest/compare/v27.8.0...v27.9.0) (2024-02-16)
277

378

0 commit comments

Comments
 (0)