Skip to content

Commit

Permalink
feat!: drop node.js < 16 (#90)
Browse files Browse the repository at this point in the history
refs: #42
  • Loading branch information
aladdin-add authored Apr 18, 2023
1 parent 1546dc6 commit 38a67ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,9 @@ jobs:
node: [18.x]
include:
# run on node lts(ubuntu-latest)
- os: ubuntu-latest
node: "12.x"
eslint: "8.x"
- os: ubuntu-latest
node: "14.x"
eslint: "8.x"
- os: ubuntu-latest
node: "16.x"
eslint: "8.x"
- os: ubuntu-latest
node: "17.x"
eslint: "8.x"
- os: ubuntu-latest
node: "19.x"
eslint: "8.x"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Additional ESLint's rules for Node.js
npm install --save-dev eslint eslint-plugin-n
```

- Requires Node.js `>=12.22.0`
- Requires Node.js `>=16.0.0`
- Requires ESLint `>=7.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 `n/no-unsupported-features/*` rules.
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": "15.7.0",
"description": "Additional ESLint's rules for Node.js",
"engines": {
"node": ">=12.22.0"
"node": ">=16.0.0"
},
"main": "lib/index.js",
"files": [
Expand Down

0 comments on commit 38a67ef

Please sign in to comment.