Skip to content

Commit 1d1284e

Browse files
committed
feat: drop Node 6, 8 & 10 support (#16)
BREAKING CHANGE: Requires Node@^12.22.0 || ^14.17.0 || >=16.0.0
1 parent a5ee7f1 commit 1d1284e

File tree

4 files changed

+5
-109
lines changed

4 files changed

+5
-109
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
matrix:
4545
eslint: [7]
46-
node: [10, 12.0.0, 12, 14.0.0, 14, 16.0.0, 16, 18.0.0, 18, 20]
46+
node: [12.22.0, 12, 14.17.0, 14, 16.0.0, 16, 18.0.0, 18, 20]
4747
os: [ubuntu-latest]
4848
include:
4949
# On other platforms
@@ -63,16 +63,9 @@ jobs:
6363
- eslint: 4
6464
node: 18
6565
os: ubuntu-latest
66-
# On old Node.js versions
67-
- eslint: 6
68-
node: 8
69-
os: ubuntu-latest
70-
- eslint: 5
71-
node: 6
72-
os: ubuntu-latest
7366
# On the minimum supported ESLint/Node.js version
7467
- eslint: 4.19.1
75-
node: 6.5.0
68+
node: 12.22.0
7669
os: ubuntu-latest
7770
runs-on: ${{ matrix.os }}
7871
steps:
@@ -84,31 +77,11 @@ jobs:
8477
with:
8578
node-version: ${{ matrix.node }}
8679

87-
# - name: 📥 Install dependencies
88-
# run: npm install
89-
- name: 📥 Install Packages for Node v6
90-
run: |
91-
sudo npm i [email protected]
92-
./node_modules/.bin/npm -v
93-
./node_modules/.bin/npm uninstall vuepress
94-
./node_modules/.bin/npm install
95-
if: ${{ matrix.node == '6.5.0' || matrix.node == '6' }}
96-
- name: 📥 Uninstall Packages for Node v8
97-
run: |
98-
npm uninstall vuepress
99-
if: ${{ matrix.node == '8.O.O' || matrix.node == '8' }}
100-
- name: 📥 Install Packages
80+
- name: 📥 Install dependencies
10181
run: npm install --legacy-peer-deps
102-
if: ${{ matrix.node != '6.5.0' && matrix.node != '6' }}
10382

104-
# - name: 📥 Install ESLint v${{ matrix.eslint }}
105-
# run: npm install --save-dev eslint@${{ matrix.eslint }}
106-
- name: 📥 Install ESLint v${{ matrix.eslint }} for Node v6
107-
run: ./node_modules/.bin/npm install --save-dev eslint@${{ matrix.eslint }}
108-
if: ${{ matrix.node == '6.5.0' || matrix.node == '6' }}
10983
- name: 📥 Install ESLint v${{ matrix.eslint }}
11084
run: npm install --save-dev eslint@${{ matrix.eslint }}
111-
if: ${{ matrix.node != '6.5.0' && matrix.node != '6' }}
11285

11386
- name: ▶️ Run test script
11487
run: npm run test

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ npm install --save-dev eslint @eslint-community/eslint-plugin-eslint-comments
2626
```
2727

2828
::: tip Requirements
29-
- Node.js `6.5.0` or newer.
29+
- Node.js `^12.22.0 || ^14.17.0 || >=16.0.0`
3030
- ESLint `4.19.1` or newer.
3131
:::
3232

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0-semantically-released",
44
"description": "Additional ESLint rules for ESLint directive comments.",
55
"engines": {
6-
"node": ">=6.5.0"
6+
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
77
},
88
"main": "index.js",
99
"files": [
@@ -41,7 +41,6 @@
4141
"clean": "rimraf .nyc_output coverage docs/.vuepress/dist",
4242
"docs:build": "vuepress build docs",
4343
"docs:watch": "vuepress dev docs",
44-
"docs:deploy": "node scripts/deploy",
4544
"lint": "eslint lib scripts tests",
4645
"test": "nyc mocha \"tests/lib/**/*.js\" --reporter dot --timeout 8000",
4746
"coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html",

scripts/deploy.js

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)