Skip to content

Commit

Permalink
chore: add caching to ESLint and Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Dec 15, 2024
1 parent 6cafdec commit 1b94763
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
node_modules
.env
.env.*
.eslintcache
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"build": "vite build",
"preview": "vite preview",
"sync": "svelte-kit sync",
"fmt": "prettier --check .",
"fmt:fix": "prettier --write .",
"fmt": "prettier --check --cache .",
"fmt:fix": "prettier --write --cache .",
"lint": "pnpm run --parallel /lint:/",
"lint:html": "linthtml src/**/*.html",
"lint:css": "stylelint src/**/*.css",
"lint:js": "eslint",
"lint:js": "eslint --cache",
"lint:svelte": "svelte-check --tsconfig ./tsconfig.json",
"discord:register": "node scripts/register-slash-commands.js"
},
Expand Down

0 comments on commit 1b94763

Please sign in to comment.