From abd26a239dc855b369d06e77c7103fb514631ee3 Mon Sep 17 00:00:00 2001 From: michalsnik Date: Wed, 6 Nov 2019 11:27:03 +0100 Subject: [PATCH 1/3] Update packages to support ESlint 6 --- package.json | 6 +++--- tests/integrations/eslint-plugin-import/package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) mode change 100755 => 100644 package.json diff --git a/package.json b/package.json old mode 100755 new mode 100644 index 8246a88b8..8c8f00d14 --- a/package.json +++ b/package.json @@ -50,15 +50,15 @@ }, "devDependencies": { "@types/node": "^4.2.16", - "@typescript-eslint/parser": "^1.11.0", - "acorn": "^7.0.0", + "@typescript-eslint/parser": "^2.6.1", + "acorn": "^7.1.0", "babel-eslint": "^10.0.2", "chai": "^4.1.0", "eslint": "^6.0.0", "eslint-plugin-eslint-plugin": "^2.0.1", "eslint-plugin-vue-libs": "^4.0.0", "eslint-plugin-vue": "file:.", - "eslint4b": "^5.1.0", + "eslint4b": "^6.6.0", "lodash": "^4.17.4", "mocha": "^5.2.0", "nyc": "^12.0.2", diff --git a/tests/integrations/eslint-plugin-import/package.json b/tests/integrations/eslint-plugin-import/package.json index 957cd9081..1292d8513 100644 --- a/tests/integrations/eslint-plugin-import/package.json +++ b/tests/integrations/eslint-plugin-import/package.json @@ -8,8 +8,8 @@ "author": "Toru Nagashima (https://github.com/mysticatea)", "license": "MIT", "dependencies": { - "eslint": "~3.19.0", - "eslint-plugin-import": "~2.3.0", + "eslint": "~6.0.0", + "eslint-plugin-import": "~2.18.2", "eslint-plugin-vue": "file:../../.." } } From 82991bd056530b94ad833fd9b3772abe3335595d Mon Sep 17 00:00:00 2001 From: michalsnik Date: Wed, 6 Nov 2019 11:42:19 +0100 Subject: [PATCH 2/3] Update Node.js requirement to 8.10 and above --- docs/user-guide/README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user-guide/README.md b/docs/user-guide/README.md index abf2390c9..b9c216169 100644 --- a/docs/user-guide/README.md +++ b/docs/user-guide/README.md @@ -18,8 +18,8 @@ yarn add -D eslint eslint-plugin-vue ``` ::: tip Requirements -- ESLint v5.0.0 or later -- Node.js v6.5.0 or later +- ESLint v6.0.0 and above +- Node.js v8.10.0 and above ::: ## :book: Usage diff --git a/package.json b/package.json index 8c8f00d14..dbae7c543 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "url": "https://github.com/vuejs/eslint-plugin-vue/issues" }, "engines": { - "node": ">=6.5" + "node": ">=8.10" }, "peerDependencies": { "eslint": "^5.0.0 || ^6.0.0" From 7c0ad63b027e61e2e0fad541a1254184ced772f7 Mon Sep 17 00:00:00 2001 From: michalsnik Date: Wed, 6 Nov 2019 11:43:46 +0100 Subject: [PATCH 3/3] Remove Eslint@5 compatibility check from CircleCI --- .circleci/config.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c60601bce..60bfc8336 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,6 @@ workflows: - node-v8 - node-v10 - node-v12 - - node-v12-minimal version: 2 jobs: @@ -43,32 +42,3 @@ jobs: <<: *node-base docker: - image: node:12 - - node-v12-minimal: - docker: - - image: node:12 - steps: - - run: - name: Versions - command: npm version - - checkout - - restore_cache: - keys: - - v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }} - - run: - name: Install dependencies - command: npm install - - save_cache: - key: v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }} - paths: - - node_modules - - run: - name: Install eslint 5 - command: | - # We need to execute this command twice because of npm's bug. - # See also: https://npm.community/t/error-node-modules-staging-eslint-e7cf6846-node-modules-eslint - npm install eslint@5.0.0 acorn@6.0.7 --no-save - npm install eslint@5.0.0 acorn@6.0.7 --no-save - - run: - name: Test - command: npm test