Skip to content

Commit cacf5fe

Browse files
author
Gioele De Vitti
authored
Merge pull request #18 from aboutbits/eslint-improvement
Enable ESLint caching
2 parents 9c41486 + 550ddde commit cacf5fe

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@
88
# Project
99
/package-lock.json
1010
/node_modules
11-
/dist
11+
/dist
12+
13+
# ESLint
14+
.eslintcache

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"build": "tsc",
1212
"clear": "rm -rf src/*",
1313
"generate": "node generator.js",
14-
"lint": "eslint --ext js,ts,tsx src ./generator.js",
15-
"lint:fix": "npm run lint -- --fix",
14+
"lint": "eslint --cache --ext js,ts,tsx src ./generator.js",
15+
"lint:fix": "npm run lint -- --cache --fix",
1616
"typecheck": "tsc --noEmit",
1717
"test": "jest --config jestconfig.json --passWithNoTests",
1818
"prepare": "npm run build",

0 commit comments

Comments
 (0)