From 91f17bed3be9c396fd2524ef5d124b67d47769ec Mon Sep 17 00:00:00 2001 From: Jesse Renee Beach Date: Sun, 23 Jun 2019 13:09:09 -0700 Subject: [PATCH] Update ESLint to v6 --- .travis.yml | 8 +++++++- package.json | 9 +++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index ff8f33abf..94da629a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: node_js node_js: + - "12" - "10" - "9" - "8" @@ -28,6 +29,7 @@ env: global: - TEST=true matrix: + - ESLINT=6 - ESLINT=5 - ESLINT=4 - ESLINT=3 @@ -39,10 +41,14 @@ matrix: - node_js: "node" env: LINT=true TEST=false exclude: - - node_js: "5" + - node_js: "4" env: ESLINT=5 - node_js: "4" + env: ESLINT=6 + - node_js: "5" env: ESLINT=5 + - node_js: "6" + env: ESLINT=6 allow_failures: - node_js: "9" - node_js: "7" diff --git a/package.json b/package.json index ff08e1fef..001400ce1 100644 --- a/package.json +++ b/package.json @@ -32,14 +32,15 @@ "devDependencies": { "@babel/core": "^7.0.0", "@babel/plugin-transform-flow-strip-types": "^7.2.3", + "@babel/runtime": "^7.4.5", "babel-eslint": "^10.0.1", "babel-jest": "^24.0.0", - "babel-preset-airbnb": "^3.2.0", + "babel-preset-airbnb": "^4.0.0", "coveralls": "^3.0.1", - "eslint": "^5.15.2", + "eslint": "^3 || ^4 || ^5 || ^6", "eslint-config-airbnb-base": "^13.0.0", "eslint-plugin-flowtype": "^3.5.0", - "eslint-plugin-import": "^2.16.0", + "eslint-plugin-import": "^2.18.0", "estraverse": "^4.2.0", "expect": "^24.3.1", "flow-bin": "^0.100.0", @@ -67,7 +68,7 @@ "jsx-ast-utils": "^2.0.1" }, "peerDependencies": { - "eslint": "^3 || ^4 || ^5" + "eslint": "^3 || ^4 || ^5 || ^6" }, "jest": { "coverageReporters": [