Skip to content

Commit 16cab9b

Browse files
committed
[Breaking] drop support for all but eslint 6/7, and jest 25/26
1 parent a021522 commit 16cab9b

File tree

2 files changed

+4
-77
lines changed

2 files changed

+4
-77
lines changed

.travis.yml

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -7,88 +7,15 @@ node_js:
77
- 10
88
install:
99
- 'yarn add "eslint@${ESLINT}" "jest@${JEST}" "babel-jest@${JEST}" --ignore-engines'
10-
- 'if [ "${ESLINT-}" = 4 ]; then yarn add eslint-config-airbnb-base@13 --ignore-engines; fi'
1110
- 'yarn --ignore-engines'
1211
env:
13-
- 'ESLINT=4 JEST=21'
14-
- 'ESLINT=5 JEST=21'
15-
- 'ESLINT=6 JEST=21'
16-
- 'ESLINT=7 JEST=21'
17-
- 'ESLINT=4 JEST=22'
18-
- 'ESLINT=5 JEST=22'
19-
- 'ESLINT=6 JEST=22'
20-
- 'ESLINT=7 JEST=22'
21-
- 'ESLINT=4 JEST=23'
22-
- 'ESLINT=5 JEST=23'
23-
- 'ESLINT=6 JEST=23'
24-
- 'ESLINT=7 JEST=23'
25-
- 'ESLINT=4 JEST=24'
26-
- 'ESLINT=5 JEST=24'
27-
- 'ESLINT=6 JEST=24'
28-
- 'ESLINT=7 JEST=24'
29-
- 'ESLINT=4 JEST=25'
30-
- 'ESLINT=5 JEST=25'
3112
- 'ESLINT=6 JEST=25'
3213
- 'ESLINT=7 JEST=25'
33-
- 'ESLINT=4 JEST=26'
34-
- 'ESLINT=5 JEST=26'
3514
- 'ESLINT=6 JEST=26'
3615
- 'ESLINT=7 JEST=26'
3716
matrix:
38-
# jest 21: 4+
39-
# jest 22: 6+
4017
# jest 25: 8+
4118
include:
42-
# eslint 4, node 4/6/8
43-
- node_js: '4'
44-
env: 'ESLINT=4 JEST=21'
45-
- node_js: '6'
46-
env: 'ESLINT=4 JEST=21'
47-
- node_js: '8'
48-
env: 'ESLINT=4 JEST=21'
49-
- node_js: '6'
50-
env: 'ESLINT=4 JEST=22'
51-
- node_js: '8'
52-
env: 'ESLINT=4 JEST=22'
53-
- node_js: '6'
54-
env: 'ESLINT=4 JEST=23'
55-
- node_js: '8'
56-
env: 'ESLINT=4 JEST=23'
57-
- node_js: '6'
58-
env: 'ESLINT=4 JEST=24'
59-
- node_js: '8'
60-
env: 'ESLINT=4 JEST=24'
61-
- node_js: '8'
62-
env: 'ESLINT=4 JEST=25'
63-
64-
# eslint 5, node 6/8
65-
- node_js: '6'
66-
env: 'ESLINT=5 JEST=21'
67-
- node_js: '8'
68-
env: 'ESLINT=5 JEST=21'
69-
- node_js: '6'
70-
env: 'ESLINT=5 JEST=22'
71-
- node_js: '8'
72-
env: 'ESLINT=5 JEST=22'
73-
- node_js: '6'
74-
env: 'ESLINT=5 JEST=23'
75-
- node_js: '8'
76-
env: 'ESLINT=5 JEST=23'
77-
- node_js: '6'
78-
env: 'ESLINT=5 JEST=24'
79-
- node_js: '8'
80-
env: 'ESLINT=5 JEST=24'
81-
- node_js: '8'
82-
env: 'ESLINT=5 JEST=25'
83-
8419
# eslint 6, node 8
85-
- node_js: '8'
86-
env: 'ESLINT=6 JEST=21'
87-
- node_js: '8'
88-
env: 'ESLINT=6 JEST=22'
89-
- node_js: '8'
90-
env: 'ESLINT=6 JEST=23'
91-
- node_js: '8'
92-
env: 'ESLINT=6 JEST=24'
9320
- node_js: '8'
9421
env: 'ESLINT=6 JEST=25'

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"chalk": "^2.4.1",
2828
"cosmiconfig": "^5.0.0",
2929
"create-jest-runner": "^0.5.3",
30-
"eslint": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
30+
"eslint": "^6 || ^7"
3131
},
3232
"devDependencies": {
3333
"@babel/cli": "^7.1.0",
@@ -40,15 +40,15 @@
4040
"eslint-plugin-jest": "^23.13.2",
4141
"eslint-plugin-prettier": "^3.1.3",
4242
"execa": "^1.0.0",
43-
"jest": "^21.0.0 || ^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.1.0 || ^26.0.0",
43+
"jest": "^25.1 || ^26",
4444
"jest-watch-select-projects": "^0.1.1",
4545
"jest-watch-typeahead": "^0.3.1",
4646
"prettier": "^1.14.3",
4747
"rimraf": "^2.6.2"
4848
},
4949
"peerDependencies": {
50-
"eslint": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0",
51-
"jest": "^21.0.0 || ^22.0.0 || ^23.0.0 || ^24.0.0 || ^25.1.0 || ^26.0.0"
50+
"eslint": "^6 || ^7",
51+
"jest": "^25.1 || ^26"
5252
},
5353
"prettier": {
5454
"proseWrap": "never",

0 commit comments

Comments
 (0)