Skip to content

Commit 914bd46

Browse files
committed
Downgraded Plugins for Node.js 18
1 parent 58b7275 commit 914bd46

File tree

10 files changed

+1881
-2503
lines changed

10 files changed

+1881
-2503
lines changed

.claude/settings.local.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@
3131
"Bash(pnpm tsup:*)",
3232
"Bash(pnpm why:*)",
3333
"Bash(pnpm ls:*)",
34-
"Bash(npx tsc:*)"
34+
"Bash(npx tsc:*)",
35+
"Bash(echo:*)",
36+
"Bash(node:*)",
37+
"Bash(pnpm:*)",
38+
"Bash(cat:*)",
39+
"Bash(npm pack:*)",
40+
"Bash(cd:*)"
3541
]
3642
}
3743
}

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,44 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [6.1.0] - 2026-03-15
6+
7+
### Added
8+
9+
- **Node.js 18 Support**: Lowered minimum Node.js requirement from 20.19.0 to 18.18.0
10+
- Added `engines` field to package.json: `"node": "^18.18.0 || ^20.9.0 || >=21.1.0"`
11+
- **Workspace Configuration**: Added `pnpm-workspace.yaml` for monorepo support
12+
- **Node Version Requirements Doc**: Added comprehensive documentation for all ESLint plugins' Node.js requirements at `docs/NODE_VERSION_REQUIREMENTS.md`
13+
14+
### Changed
15+
16+
- **Downgraded Plugins for Node.js 18 Compatibility**:
17+
- `eslint-plugin-regexp`: ^3.1.0 → ^2.10.0
18+
- `eslint-plugin-jsdoc`: ^62.8.0 → ^61.7.1
19+
- `eslint-plugin-perfectionist`: ^5.6.0 → ^4.15.1
20+
- `eslint-plugin-unicorn`: ^59.0.1 → ^56.0.1
21+
- `eslint-plugin-svelte`: ^3.0.0 → ^2.46.1
22+
- `eslint-plugin-vue`: ^10.0.0 → ^9.33.0
23+
- **Unicorn Rules**: Updated unicorn config with additional rules
24+
- Added `unicorn/consistent-empty-array-spread`
25+
- Added `unicorn/new-for-builtins`
26+
- Kept `unicorn/no-instanceof-array` (not available in unicorn 59.x)
27+
- **Vue Config**: Updated to use flat config names for Vue 2/3 detection
28+
- Vue 2: Uses `flat/vue2-essential`, `flat/vue2-recommended`, `flat/vue2-strongly-recommended`
29+
- Vue 3: Uses `flat/essential`, `flat/recommended`, `flat/strongly-recommended`
30+
- **Svelte Config**: Added type assertion for plugin compatibility
31+
32+
### Fixed
33+
34+
- Fixed `TypeError: context.sourceCode.isGlobalReference is not a function` error with unicorn rules
35+
- Fixed Vue config compatibility with eslint-plugin-vue@9.x
36+
- Fixed Svelte config type compatibility with eslint-plugin-svelte@2.x
37+
38+
### Notes
39+
40+
- `eslint-plugin-toml@1.x` still requires Node.js 20.19.0+, but is kept as optional
41+
- `eslint-plugin-unicorn@56.x` is compatible with all ESLint 9.x versions (not just 9.22.0+)
42+
543
## [6.0.0] - 2026-03-14
644

745
### Added

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ npm install -D @eslint-sets/eslint-config eslint
7070
bun add -D @eslint-sets/eslint-config eslint
7171
```
7272

73+
## Requirements
74+
75+
- **Node.js**: `^18.18.0` or `^20.9.0` or `>=21.1.0`
76+
- **ESLint**: `^9.10.0` or `^9.22.0`
77+
78+
> Note: `eslint-plugin-toml` requires Node.js `^20.19.0 || ^22.13.0 || >=24`. If you need TOML support on Node.js 18, consider downgrading to `eslint-plugin-toml@0.13.1`.
79+
7380
## Quick Start
7481

7582
### Using CLI (Recommended)
@@ -573,6 +580,13 @@ import {
573580
| prettier | ^3.5.3 (optional, for Prettier integration) |
574581
| typescript | >=5.0.0 (optional, for TypeScript support) |
575582

583+
## System Requirements
584+
585+
| Requirement | Version |
586+
| ----------- | ---------------------------------------- |
587+
| Node.js | ^18.18.0 or ^20.9.0 or >=21.1.0 |
588+
| ESLint | ^9.10.0 or ^9.22.0 |
589+
576590
## Optional Dependencies
577591

578592
The following packages are optional and will be used if installed:

0 commit comments

Comments
 (0)