Skip to content

Commit 4256518

Browse files
committed
[New] add eslint v5 support
1 parent 7a9995a commit 4256518

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ env:
2424
global:
2525
- TEST=true
2626
matrix:
27+
- ESLINT=5
2728
- ESLINT=4
2829
- ESLINT=3
2930
matrix:
@@ -33,6 +34,11 @@ matrix:
3334
env: FLOW=true TEST=false
3435
- node_js: "node"
3536
env: LINT=true TEST=false
37+
exclude:
38+
- node_js: "5"
39+
env: ESLINT=5
40+
- node_js: "4"
41+
env: ESLINT=5
3642
allow_failures:
3743
- node_js: "9"
3844
- node_js: "7"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"babel-polyfill": "^6.26.0",
4141
"babel-preset-es2015": "^6.24.1",
4242
"coveralls": "^3.0.1",
43-
"eslint": "^3 || ^4",
43+
"eslint": "^3 || ^4 || ^5",
4444
"eslint-config-airbnb-base": "^13.0.0",
4545
"eslint-plugin-flowtype": "^2.49.3",
4646
"eslint-plugin-import": "^2.13.0",
@@ -70,7 +70,7 @@
7070
"jsx-ast-utils": "^2.0.1"
7171
},
7272
"peerDependencies": {
73-
"eslint": "^3 || ^4"
73+
"eslint": "^3 || ^4 || ^5"
7474
},
7575
"jest": {
7676
"coverageReporters": [

0 commit comments

Comments
 (0)