Skip to content

Commit 94a6dc8

Browse files
Copilotjonrohan
andcommitted
Update copilot-instructions.md to reflect Node.js v20 upgrade
Co-authored-by: jonrohan <[email protected]>
1 parent 78bbb98 commit 94a6dc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/copilot-instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ESLint plugin for Primer React components. This is a JavaScript-based ESLint plu
88

99
### Bootstrap and Setup
1010

11-
- Install Node.js v18+ (currently works with v20+):
11+
- Install Node.js v20+ (v20 is the current standard):
1212
- Check version: `node --version && npm --version`
1313
- Install dependencies: `npm ci` -- takes 60 seconds. Set timeout to 90+ seconds.
1414
- **NO BUILD STEP REQUIRED** - This is a direct JavaScript project with main entry at `src/index.js`
@@ -67,7 +67,7 @@ ruleTester.run('test', rule, {
6767
- `package.json` - Scripts and dependencies (no build scripts needed)
6868
- `jest.config.js` - Jest test configuration
6969
- `.eslintrc.js` - ESLint configuration for the project itself
70-
- `.nvmrc` - Node.js version specification (v18)
70+
- `.nvmrc` - Node.js version specification (v20)
7171

7272
### Rule Development Pattern
7373

@@ -133,7 +133,7 @@ The plugin can be tested by:
133133

134134
### Common Issues
135135

136-
- **Node.js version**: Use Node.js v18+ (v20+ works fine)
136+
- **Node.js version**: Use Node.js v20+ (v20 is the current standard)
137137
- **Dependencies**: Always use `npm ci` instead of `npm install` for consistent installs
138138
- **Test failures**: Run `npm test` to see specific failures - tests are fast and detailed
139139
- **Lint failures**: Run `npm run lint` and `npm run lint:md` to see specific issues

0 commit comments

Comments
 (0)