Skip to content

Commit a9fbb0f

Browse files
authored
Merge branch 'main' into copilot/fix-377
2 parents 94a6dc8 + 4594f72 commit a9fbb0f

34 files changed

+4139
-8898
lines changed

.changeset/great-tables-decide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-primer-react": major
3+
---
4+
5+
Upgrade to ESLint v9 support with eslint-plugin-github v6

.changeset/lemon-pumas-prove.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-primer-react": major
3+
---
4+
5+
Update repository to Node.js v20

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/add-to-inbox.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
PROJECT_ID: 4503
1313
steps:
1414
- id: get-primer-access-token
15-
uses: actions/create-github-app-token@v1
15+
uses: actions/create-github-app-token@v2
1616
with:
1717
app-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_ID }}
1818
private-key: ${{ secrets.PRIMER_ISSUE_TRIAGE_APP_PRIVATE_KEY }}
@@ -22,7 +22,7 @@ jobs:
2222
env:
2323
GH_TOKEN: ${{ steps.get-primer-access-token.outputs.token }}
2424
- id: get-github-access-token
25-
uses: actions/create-github-app-token@v1
25+
uses: actions/create-github-app-token@v2
2626
with:
2727
app-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_ID_FOR_GITHUB }}
2828
private-key: ${{ secrets.PRIMER_ISSUE_TRIAGE_APP_PRIVATE_KEY_FOR_GITHUB }}

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Use Node.js
1414
uses: actions/setup-node@v4
1515
with:
16-
node-version: 18
16+
node-version: 20
1717
cache: 'npm'
1818
- run: npm ci
1919
- run: npm run format:check
@@ -25,7 +25,7 @@ jobs:
2525
- name: Use Node.js
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 18
28+
node-version: 20
2929
cache: 'npm'
3030
- run: npm ci
3131
- run: npm test
@@ -37,7 +37,7 @@ jobs:
3737
- name: Use Node.js
3838
uses: actions/setup-node@v4
3939
with:
40-
node-version: 18
40+
node-version: 20
4141
cache: 'npm'
4242
- run: npm ci
4343
- run: npm run lint

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 14
20+
node-version: 20
2121

2222
- name: Install dependencies
2323
run: npm ci

.github/workflows/release_canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 14.x
26+
node-version: 20
2727

2828
- name: Install dependencies
2929
run: npm ci

.github/workflows/release_candidate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 14.x
22+
node-version: 20
2323

2424
- name: Install dependencies
2525
run: npm ci

.markdownlint-cli2.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ const options = githubMarkdownOpinions.init({
1616
'no-hard-tabs': false,
1717
'first-line-heading': false,
1818
'no-space-in-emphasis': false,
19-
'blanks-around-fences': false
19+
'blanks-around-fences': false,
2020
})
2121

2222
module.exports = {
2323
config: options,
2424
customRules: ['@github/markdownlint-github'],
25-
outputFormatters: [['markdownlint-cli2-formatter-pretty', {appendLink: true}]]
25+
outputFormatters: [['markdownlint-cli2-formatter-pretty', {appendLink: true}]],
2626
}

0 commit comments

Comments
 (0)