From c95b2fd5959756d53c011fa1136ad9499154bfc6 Mon Sep 17 00:00:00 2001 From: Toru Nagashima Date: Wed, 1 May 2019 16:57:18 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5=20drop=20support=20for=20Node.js?= =?UTF-8?q?=206.x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 9 ++------- README.md | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index a007104f..980b1797 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,9 @@ os: language: node_js node_js: - - "6.0.0" - - "6" - - "8" + - "8.10.0" - "10" - - "11" + - "12" env: - ESLINT_VERSION=4 @@ -19,9 +17,6 @@ env: 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 diff --git a/README.md b/README.md index de315f0c..e020af34 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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" } } ``` diff --git a/package.json b/package.json index 37b11c5d..d3643b0e 100644 --- a/package.json +++ b/package.json @@ -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": [