Skip to content

Commit c83140f

Browse files
committed
Breaking: drop supporting Node.js 4.x
1 parent de3fe7f commit c83140f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Diff for: .travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
sudo: false
2+
23
language: node_js
34
node_js:
4-
- "4"
5-
- "6"
5+
- "6.5"
66
- "8"
7-
- "9"
7+
- "10"
8+
89
before_script:
910
- npm run setup
11+
1012
after_success:
1113
- npm run codecov

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ This parser allows us to lint the `<template>` of `.vue` files. We can make mist
1818
$ npm install --save-dev eslint vue-eslint-parser
1919
```
2020

21-
- `vue-eslint-parser` requires ESLint 3.9.0 or later.
21+
- Requires Node.js 6.5.0 or later.
22+
- Requires ESLint 3.9.0 or later.
2223

2324
## 📖 Usage
2425

@@ -83,7 +84,7 @@ For example:
8384
}
8485
```
8586

86-
- If you use with `babel-eslint`, it has additional requirements. Use `eslint@>=4.14.0` and `babel-eslint@>=8.1.1`.
87+
- If you use with `babel-eslint`, use `babel-eslint@>=8.1.1`.
8788
- If you use `typescript-eslint-parser`, the location of original nodes can be wrong. Waiting for `typescript-eslint-parser` to support [parseResult.visitorKeys](https://eslint.org/docs/developer-guide/working-with-plugins#working-with-custom-parsers).
8889

8990
## 🎇 Usage for custom rules / plugins

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.0.3",
44
"description": "The ESLint custom parser for `.vue` files.",
55
"engines": {
6-
"node": ">=4"
6+
"node": ">=6.5"
77
},
88
"main": "index.js",
99
"files": [

0 commit comments

Comments
 (0)