Skip to content

Commit

Permalink
Use cache for lint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rdwz committed Dec 19, 2023
1 parent 725d0e8 commit c78cb66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
17 changes: 9 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
.idea
.DS_Store
node_modules
archives/
yarn-error.log
.eslintcache
.idea
.pnpm-debug.log
server*.log
*.png
*.jpg
*.jpeg
*.bmp
*.jpeg
*.jpg
*.png
/all.json
archives/
node_modules
server*.log
yarn-error.log
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"validate": "pnpm lint:fix && pnpm reformat-files && pnpm package",
"package": "node scripts/package.js",
"create": "node scripts/create.js",
"lint": "eslint \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"",
"lint": "eslint --cache \"{recipes,scripts}/**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "pnpm lint --fix",
"reformat-files": "prettier --ignore-path .eslintignore --write \"**/*.{js,json,scss}\"",
"reformat-files": "prettier --cache --ignore-path .eslintignore --write \"**/*.{js,json,scss}\"",
"contributors": "all-contributors"
},
"repository": {
Expand Down

0 comments on commit c78cb66

Please sign in to comment.