Skip to content

Commit

Permalink
chore: update eslint-utils to latest
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Requires Node@^10.0.0 || ^12.0.0 || >=14.0.0
  • Loading branch information
MichaelDeBoey committed Nov 30, 2021
1 parent 57e13cc commit 69859fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,13 @@ jobs:
- eslint: 6
node: 10
os: ubuntu-latest
- eslint: 6
node: 8
os: ubuntu-latest
# On old ESLint versions
- eslint: 5
node: 16
os: ubuntu-latest
# On the minimum supported ESLint/Node.js version
- eslint: 5.16.0
node: 8.10.0
node: 10.0.0
os: ubuntu-latest

runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Additional ESLint's rules for Node.js
$ npm install --save-dev eslint eslint-plugin-node
```

- Requires Node.js `>=8.10.0`
- Requires Node.js `>=10.0.0`
- Requires ESLint `>=5.16.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 @@ -53,7 +53,7 @@ $ npm install --save-dev eslint eslint-plugin-node
"version": "1.0.0",
"type": "commonjs",
"engines": {
"node": ">=8.10.0"
"node": ">=10.0.0"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "11.1.0",
"description": "Additional ESLint's rules for Node.js",
"engines": {
"node": ">=8.10.0"
"node": "^10.0.0 || ^12.0.0 || >=14.0.0"
},
"main": "lib/index.js",
"files": [
Expand All @@ -14,7 +14,7 @@
},
"dependencies": {
"eslint-plugin-es": "^4.1.0",
"eslint-utils": "^2.0.0",
"eslint-utils": "^3.0.0",
"ignore": "^5.1.1",
"is-core-module": "^2.3.0",
"minimatch": "^3.0.4",
Expand Down

0 comments on commit 69859fe

Please sign in to comment.