Skip to content

Commit 6d17415

Browse files
committed
add eslint cache
1 parent 52b0d97 commit 6d17415

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@
99
/node_modules
1010
/dist
1111
/translations-template.json
12+
13+
# ESLint
14+
.eslintcache

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"build:esm": "tsc --project tsconfig.build.esm.json",
2323
"translations:extract": "formatjs extract 'src/**/*.{js,ts}' --out-file translations-template.json --format simple",
2424
"translations:diff": "echo 'de:' && json-diff --keys-only src/translations/de.json translations-template.json && echo 'it:' && json-diff --keys-only src/translations/it.json translations-template.json",
25-
"lint": "eslint --ext js,ts,tsx src",
26-
"lint:fix": "npm run lint -- --fix",
25+
"lint": "eslint --cache --ext js,ts,tsx src",
26+
"lint:fix": "npm run lint -- --cache --fix",
2727
"typecheck": "tsc --noEmit",
2828
"test": "jest --config jest.config.js --passWithNoTests",
2929
"prepare": "npm run build",

0 commit comments

Comments
 (0)