diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ad78bdd..601c00b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/index.js b/index.js index 33f4d7f..8a085c6 100644 --- a/index.js +++ b/index.js @@ -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'] } diff --git a/package-lock.json b/package-lock.json index c0dd9c7..42fe54a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "typescript": "5.0.4" }, "engines": { - "node": ">=16" + "node": ">=18" }, "peerDependencies": { "@eslint-recommended/eslint-config-typescript": "^1.0.0", diff --git a/package.json b/package.json index a420382..85b75c9 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "index.js" ], "engines": { - "node": ">=16" + "node": ">=18" }, "peerDependencies": { "@eslint-recommended/eslint-config-typescript": "^1.0.0",