@hs-web-team/eslint-config-node 3.2.0-next.7 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/main.yml +2 -2
- package/.github/workflows/pr.yml +2 -2
- package/.nvmrc +1 -1
- package/CLAUDE.md +3 -3
- package/package.json +2 -2
|
@@ -11,11 +11,11 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
strategy:
|
|
13
13
|
matrix:
|
|
14
|
-
node: [
|
|
14
|
+
node: [24]
|
|
15
15
|
|
|
16
16
|
name: Node ${{ matrix.node }} lint
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
19
|
- name: Run unit tests
|
|
20
20
|
uses: actions/setup-node@v6
|
|
21
21
|
with:
|
package/.github/workflows/pr.yml
CHANGED
|
@@ -11,11 +11,11 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
strategy:
|
|
13
13
|
matrix:
|
|
14
|
-
node: [
|
|
14
|
+
node: [24]
|
|
15
15
|
|
|
16
16
|
name: Node ${{ matrix.node }} sample
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
19
|
- name: Run unit tests
|
|
20
20
|
uses: actions/setup-node@v6
|
|
21
21
|
with:
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v24
|
package/CLAUDE.md
CHANGED
|
@@ -106,7 +106,7 @@ When testing changes to this package in downstream projects, you'll typically:
|
|
|
106
106
|
|
|
107
107
|
### Package Details
|
|
108
108
|
- **Type**: ESM module (`"type": "module"`)
|
|
109
|
-
- **Node requirement**: >=
|
|
109
|
+
- **Node requirement**: >= 24
|
|
110
110
|
- **Exports**:
|
|
111
111
|
- Main export (`.`): `index.js` - Node.js ESLint configuration
|
|
112
112
|
- Browser export (`./browser`): `browser.js` - Browser/React ESLint configuration
|
|
@@ -118,7 +118,7 @@ When testing changes to this package in downstream projects, you'll typically:
|
|
|
118
118
|
### Migration Context
|
|
119
119
|
This package is currently on v3, which uses ESLint 9's flat config format. The project has migrated from:
|
|
120
120
|
- v1 → v2: See `docs/MIGRATION-V2.md`
|
|
121
|
-
- v2 → v3: See `docs/MIGRATION-V3.md` (ESLint 9 flat config migration requiring Node.js
|
|
121
|
+
- v2 → v3: See `docs/MIGRATION-V3.md` (ESLint 9 flat config migration requiring Node.js 24+)
|
|
122
122
|
|
|
123
123
|
## Important Notes
|
|
124
124
|
|
|
@@ -137,7 +137,7 @@ This package is currently on v3, which uses ESLint 9's flat config format. The p
|
|
|
137
137
|
- Mixed module systems:
|
|
138
138
|
- Main package is ESM (`index.js`, `browser.js`)
|
|
139
139
|
- Utility scripts use CommonJS (`bin/add-prettier-scripts.js`, `cypress.config.cjs`)
|
|
140
|
-
- CI runs on Node
|
|
140
|
+
- CI runs on Node 24 (see `.github/workflows/pr.yml`)
|
|
141
141
|
- No automated tests currently (`npm test` will fail with "Error: no test specified")
|
|
142
142
|
- Detailed documentation available in `examples/`:
|
|
143
143
|
- `browser-usage.md` - Browser/React ESLint configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hs-web-team/eslint-config-node",
|
|
3
|
-
"version": "3.2.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "HubSpot Marketing WebTeam shared configurations for ESLint, Prettier, Stylelint, and Cypress",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
29
|
+
"node": ">=24"
|
|
30
30
|
},
|
|
31
31
|
"bin": {
|
|
32
32
|
"add-prettier": "bin/add-prettier-scripts.js"
|