aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Simon He <57086651+Simon-He95@users.noreply.github.com> 2022-12-08 14:03:11 +0800
committerGravatar GitHub <noreply@github.com> 2022-12-07 22:03:11 -0800
commit7c2180194c3b87236e1b61806b6a473642bd5bdb (patch)
treeeeb938b1d5c19812c655206e04c8f96b9ccee6f6
parent3150ff49a737dba2adc250c1d499040a6ccebd07 (diff)
downloadbun-7c2180194c3b87236e1b61806b6a473642bd5bdb.tar.gz
bun-7c2180194c3b87236e1b61806b6a473642bd5bdb.tar.zst
bun-7c2180194c3b87236e1b61806b6a473642bd5bdb.zip
chore: add eslintcache (#1586)
-rw-r--r--.gitignore1
-rw-r--r--package.json4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 78a31bb5d..01b43a0ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -105,3 +105,4 @@ src/runtime.version
*.db
misctools/machbench
*.big
+.eslintcache
diff --git a/package.json b/package.json
index 12d3e822f..fc5d5eabc 100644
--- a/package.json
+++ b/package.json
@@ -12,8 +12,8 @@
"build-fallback": "esbuild --target=esnext --bundle src/fallback.ts --format=iife --platform=browser --minify > src/fallback.out.js",
"typecheck": "tsc",
"fmt": "prettier --write './**/*.{ts,tsx,js,jsx}'",
- "lint": "eslint './**/*.d.ts'",
- "lint:fix": "eslint './**/*.d.ts' --fix"
+ "lint": "eslint './**/*.d.ts' --cache",
+ "lint:fix": "eslint './**/*.d.ts' --cache --fix"
},
"devDependencies": {
"@types/react": "^18.0.25",