Skip to content

Commit 2ba3aca

Browse files
Copilotkalwalt
andcommitted
Add ESLint cache and improve lint-staged performance
Co-authored-by: kalwalt <[email protected]>
1 parent 5df0635 commit 2ba3aca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
dist
33
.idea/
4-
coverage/
4+
coverage/
5+
.eslintcache

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"prettier --write"
7272
],
7373
"*.{js,jsx,ts,tsx}": [
74-
"eslint --fix"
74+
"eslint --fix --cache"
7575
]
7676
}
7777
}

0 commit comments

Comments
 (0)