Skip to content

Commit 83f449b

Browse files
committed
eslintのキャッシュを有効に
1 parent 7d87271 commit 83f449b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
~/.cache/Cypress
8585
./atcoder-problems-frontend/node_modules
8686
.tsconfig.tsbuildinfo
87+
.eslintcache
8788
key: ${{ runner.os }}-cargo-${{ hashFiles('atcoder-problems-frontend/yarn.lock') }}
8889

8990
- name: Install dependencies

atcoder-problems-frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"cy:run": "cypress run",
1010
"eject": "react-scripts eject",
1111
"format": "yarn run sort-package-json && yarn run prettier && yarn run lint:fix",
12-
"lint": "eslint --ignore-path .gitignore \"./src/**/*.{js,jsx,ts,tsx}\"",
12+
"lint": "eslint --ignore-path .gitignore \"./src/**/*.{js,jsx,ts,tsx}\" --cache",
1313
"lint:fix": "yarn run lint --fix",
1414
"md:build": "mkdir -p build/book && yarn run md:clean && mdbook build ../guide/ -d=../atcoder-problems-frontend/build/book/",
1515
"md:clean": "mdbook clean ../guide/ -d=../atcoder-problems-frontend/build/book/",

0 commit comments

Comments
 (0)