Skip to content

Commit

Permalink
Breaking: drop supporting Node.js 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Jul 2, 2018
1 parent de3fe7f commit c83140f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
sudo: false

language: node_js
node_js:
- "4"
- "6"
- "6.5"
- "8"
- "9"
- "10"

before_script:
- npm run setup

after_success:
- npm run codecov
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ This parser allows us to lint the `<template>` of `.vue` files. We can make mist
$ npm install --save-dev eslint vue-eslint-parser
```

- `vue-eslint-parser` requires ESLint 3.9.0 or later.
- Requires Node.js 6.5.0 or later.
- Requires ESLint 3.9.0 or later.

## 📖 Usage

Expand Down Expand Up @@ -83,7 +84,7 @@ For example:
}
```

- If you use with `babel-eslint`, it has additional requirements. Use `eslint@>=4.14.0` and `babel-eslint@>=8.1.1`.
- If you use with `babel-eslint`, use `babel-eslint@>=8.1.1`.
- 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).

## 🎇 Usage for custom rules / plugins
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.0.3",
"description": "The ESLint custom parser for `.vue` files.",
"engines": {
"node": ">=4"
"node": ">=6.5"
},
"main": "index.js",
"files": [
Expand Down

0 comments on commit c83140f

Please sign in to comment.