Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
Drop support for node v16 (#19)
Browse files Browse the repository at this point in the history
* Drop support for node v16

* Fix errors
  • Loading branch information
munierujp authored Sep 13, 2023
1 parent 71ccf44 commit 053c61e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
# https://nodejs.org/en/about/releases/
node-version: ['16', '18', '20']
node-version: ['18', '20']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const unicornRules = {
'unicorn/prefer-module': 'off',
'unicorn/prefer-query-selector': 'off',
'unicorn/prefer-spread': 'off',
// TODO [engine:node@>=18]: Enable this when the minimum supported Node.js version becomes v18 or later.
'unicorn/prefer-top-level-await': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/switch-case-braces': ['error', 'avoid']
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"index.js"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"peerDependencies": {
"@eslint-recommended/eslint-config-typescript": "^1.0.0",
Expand Down

0 comments on commit 053c61e

Please sign in to comment.