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

Commit 053c61e

Browse files
authored
Drop support for node v16 (#19)
* Drop support for node v16 * Fix errors
1 parent 71ccf44 commit 053c61e

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
# https://nodejs.org/en/about/releases/
9-
node-version: ['16', '18', '20']
9+
node-version: ['18', '20']
1010
steps:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ const unicornRules = {
77
'unicorn/prefer-module': 'off',
88
'unicorn/prefer-query-selector': 'off',
99
'unicorn/prefer-spread': 'off',
10-
// TODO [engine:node@>=18]: Enable this when the minimum supported Node.js version becomes v18 or later.
11-
'unicorn/prefer-top-level-await': 'off',
1210
'unicorn/prevent-abbreviations': 'off',
1311
'unicorn/switch-case-braces': ['error', 'avoid']
1412
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"index.js"
1111
],
1212
"engines": {
13-
"node": ">=16"
13+
"node": ">=18"
1414
},
1515
"peerDependencies": {
1616
"@eslint-recommended/eslint-config-typescript": "^1.0.0",

0 commit comments

Comments
 (0)