Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
💥 drop support for Node.js 6.x
  • Loading branch information
mysticatea committed May 1, 2019
1 parent 62212ac commit c95b2fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Expand Up @@ -7,21 +7,16 @@ os:

language: node_js
node_js:
- "6.0.0"
- "6"
- "8"
- "8.10.0"
- "10"
- "11"
- "12"

env:
- ESLINT_VERSION=4
- ESLINT_VERSION=5

matrix:
exclude:
# ESLint 5 supports Node.js 6.14.0 and up.
- node_js: "6.0.0"
env: ESLINT_VERSION=5
# Reduce build jobs.
- os: osx
env: ESLINT_VERSION=4
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -14,7 +14,7 @@ Additional ESLint's rules for Node.js
$ npm install --save-dev eslint eslint-plugin-node
```

- Requires Node.js `>=6.0.0`
- Requires Node.js `>=8.10.0`
- Requires ESLint `>=4.19.1` (`plugin:node/recommended` preset requires `>=5.0.0`)

**Note:** It recommends a use of [the "engines" field of package.json](https://docs.npmjs.com/files/package.json#engines). The "engines" field is used by `node/no-unsupported-features/*` rules.
Expand Down Expand Up @@ -42,7 +42,7 @@ $ npm install --save-dev eslint eslint-plugin-node
"name": "your-module",
"version": "1.0.0",
"engines": {
"node": ">=6.0.0"
"node": ">=8.10.0"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"version": "8.0.1",
"description": "Additional ESLint's rules for Node.js",
"engines": {
"node": ">=6"
"node": ">=8.10.0"
},
"main": "lib/index.js",
"files": [
Expand Down

0 comments on commit c95b2fd

Please sign in to comment.