Skip to content

Commit 6d48d11

Browse files
authored
Chore: Update packages to support ESlint v6 (#979)
* Update packages to support ESlint 6 * Update Node.js requirement to 8.10 and above * Remove Eslint@5 compatibility check from CircleCI
1 parent edf43ff commit 6d48d11

File tree

4 files changed

+8
-38
lines changed

4 files changed

+8
-38
lines changed

.circleci/config.yml

-30
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ workflows:
55
- node-v8
66
- node-v10
77
- node-v12
8-
- node-v12-minimal
98

109
version: 2
1110
jobs:
@@ -43,32 +42,3 @@ jobs:
4342
<<: *node-base
4443
docker:
4544
- image: node:12
46-
47-
node-v12-minimal:
48-
docker:
49-
- image: node:12
50-
steps:
51-
- run:
52-
name: Versions
53-
command: npm version
54-
- checkout
55-
- restore_cache:
56-
keys:
57-
- v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
58-
- run:
59-
name: Install dependencies
60-
command: npm install
61-
- save_cache:
62-
key: v2-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}
63-
paths:
64-
- node_modules
65-
- run:
66-
name: Install eslint 5
67-
command: |
68-
# We need to execute this command twice because of npm's bug.
69-
# See also: https://npm.community/t/error-node-modules-staging-eslint-e7cf6846-node-modules-eslint
70-
npm install [email protected] [email protected] --no-save
71-
npm install [email protected] [email protected] --no-save
72-
- run:
73-
name: Test
74-
command: npm test

docs/user-guide/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ yarn add -D eslint eslint-plugin-vue
1818
```
1919

2020
::: tip Requirements
21-
- ESLint v5.0.0 or later
22-
- Node.js v6.5.0 or later
21+
- ESLint v6.0.0 and above
22+
- Node.js v8.10.0 and above
2323
:::
2424

2525
## :book: Usage

package.json

100755100644
+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"url": "https://github.com/vuejs/eslint-plugin-vue/issues"
4141
},
4242
"engines": {
43-
"node": ">=6.5"
43+
"node": ">=8.10"
4444
},
4545
"peerDependencies": {
4646
"eslint": "^5.0.0 || ^6.0.0"
@@ -50,15 +50,15 @@
5050
},
5151
"devDependencies": {
5252
"@types/node": "^4.2.16",
53-
"@typescript-eslint/parser": "^1.11.0",
54-
"acorn": "^7.0.0",
53+
"@typescript-eslint/parser": "^2.6.1",
54+
"acorn": "^7.1.0",
5555
"babel-eslint": "^10.0.2",
5656
"chai": "^4.1.0",
5757
"eslint": "^6.0.0",
5858
"eslint-plugin-eslint-plugin": "^2.0.1",
5959
"eslint-plugin-vue-libs": "^4.0.0",
6060
"eslint-plugin-vue": "file:.",
61-
"eslint4b": "^5.1.0",
61+
"eslint4b": "^6.6.0",
6262
"lodash": "^4.17.4",
6363
"mocha": "^5.2.0",
6464
"nyc": "^12.0.2",

tests/integrations/eslint-plugin-import/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"author": "Toru Nagashima (https://github.com/mysticatea)",
99
"license": "MIT",
1010
"dependencies": {
11-
"eslint": "~3.19.0",
12-
"eslint-plugin-import": "~2.3.0",
11+
"eslint": "~6.0.0",
12+
"eslint-plugin-import": "~2.18.2",
1313
"eslint-plugin-vue": "file:../../.."
1414
}
1515
}

0 commit comments

Comments
 (0)