Skip to content

Commit ea60e62

Browse files
authored
feat: add cache option (#90)
1 parent bb6a2dd commit ea60e62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ export default function createConfig({
5353
],
5454
})
5555
pkg.scripts['lint:oxlint'] = 'oxlint . --fix -D correctness --ignore-path .gitignore'
56-
pkg.scripts['lint:eslint'] = 'eslint . --fix'
56+
pkg.scripts['lint:eslint'] = 'eslint . --fix --cache'
5757
pkg.scripts.lint = 'run-s lint:*'
5858
} else {
59-
pkg.scripts.lint = 'eslint . --fix'
59+
pkg.scripts.lint = 'eslint . --fix --cache'
6060
}
6161

6262
if (needsPrettier) {

0 commit comments

Comments
 (0)