Skip to content

Commit a54780a

Browse files
committed
update eslint-config packages
1 parent 9dcf684 commit a54780a

File tree

7 files changed

+20
-22
lines changed

7 files changed

+20
-22
lines changed

.github/actions/yarn/action.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,13 @@ runs:
55
using: 'composite'
66
steps:
77
- name: Setup Node.js
8-
uses: actions/setup-node@v3
8+
uses: actions/setup-node@v4
99
with:
1010
node-version-file: .nvmrc
11-
- name: Custom Cypress Cache Folder
12-
shell: bash
13-
run: |
14-
mkdir -p $RUNNER_TEMP/cypress
15-
echo "CYPRESS_CACHE_FOLDER=$RUNNER_TEMP/cypress" >> $GITHUB_ENV
16-
- uses: actions/cache@v3
11+
- uses: actions/cache@v4
1712
with:
1813
path: |
1914
**/node_modules
20-
${{ env.CYPRESS_CACHE_FOLDER }}
2115
key: v1-yarn-${{ runner.os }}-${{ hashFiles('.nvmrc') }}-${{ hashFiles('**/yarn.lock') }}
2216

2317
- name: Install Dependencies If Not Cached

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
pull_request:
8-
on: [opened, synchronize, reopened, labeled, unlabeled]
8+
types: [opened, synchronize, reopened, labeled, unlabeled]
99

1010
permissions:
1111
id-token: write
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-22.04
2525
if: ${{ github.actor != 'dependabot[bot]' }}
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
3030
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
@@ -49,7 +49,7 @@ jobs:
4949
publish-check:
5050
runs-on: ubuntu-22.04
5151
steps:
52-
- uses: actions/checkout@v3
52+
- uses: actions/checkout@v4
5353
- uses: ./.github/actions/yarn
5454
- run: npx auto pr-check --url "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}?pr=${{github.event.pull_request.number}}"
5555
env:

.github/workflows/push.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
name: Push
22

3+
on: push
4+
35
jobs:
46
ci:
57
runs-on: ubuntu-latest
68
steps:
7-
- uses: Codecademy/run-on-yarn@v2
8-
with:
9-
command: ${{ matrix.command }}
9+
- uses: actions/checkout@v4
10+
- uses: ./.github/actions/yarn
11+
- run: yarn ${{ matrix.command }}
1012

1113
strategy:
1214
fail-fast: false
1315
matrix:
1416
command: ['format:verify', 'lint', 'verify']
15-
16-
on: push

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ tmp
4242
*.swp
4343
*.swo
4444

45+
# IDE - Cursor
46+
.cursor/*
47+
!.cursor/rules
48+
4549
# Automatic report....json files
4650
report*.json
4751

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.17.0
1+
v22.14.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"author": "Codecademy Engineers <[email protected]>",
88
"engines": {
9-
"node": "^16.17",
9+
"node": "^22.14.0",
1010
"yarn": "^1.22"
1111
},
1212
"scripts": {

packages/eslint-config/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
"eslint": "^8.11.0"
2424
},
2525
"dependencies": {
26-
"@typescript-eslint/eslint-plugin": "^5.15.0",
27-
"@typescript-eslint/parser": "^5.15.0",
26+
"@typescript-eslint/eslint-plugin": "^8.31.0",
27+
"@typescript-eslint/parser": "^8.31.0",
2828
"eslint-config-airbnb": "^18.2.1",
2929
"eslint-config-prettier": "^8.3.0",
30-
"eslint-mdx": "^1.15.0",
30+
"eslint-mdx": "^3.4.1",
3131
"eslint-plugin-import": "^2.25.2",
3232
"eslint-plugin-jest": "^25.2.4",
3333
"eslint-plugin-jest-react": "^0.1.0",
34-
"eslint-plugin-jsx-a11y": "^6.4.1",
34+
"eslint-plugin-jsx-a11y": "^6.10.2",
3535
"eslint-plugin-no-only-tests": "^2.6.0",
3636
"eslint-plugin-react": "^7.26.1",
3737
"eslint-plugin-react-hooks": "^4.3.0",

0 commit comments

Comments
 (0)