Skip to content

Commit 8c1e6e7

Browse files
committed
chore: update cache locations
chore: remove redundant ignore paths
1 parent 04c0e88 commit 8c1e6e7

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@ repos
55

66
# files
77
babel.config.js
8-
bun.lockb
98
docusaurus.config.ts
10-
package-lock.json
11-
pnpm-lock.yaml
12-
yarn.lock

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
.cache-loader
33
.docusaurus
44
build
5-
dist
65
node_modules
76

87
# files
98
*.env
109
*.log
1110
*.tsbuildinfo
1211
.DS_Store
12+
.eslintcache
1313
.pnp.*
1414
package-lock.json
1515
pnpm-lock.yaml

.prettierignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,10 @@
22
.cache-loader
33
.docusaurus
44
build
5-
dist
65
node_modules
76
repos
87

98
# files
10-
*.env
11-
*.log
12-
*.tsbuildinfo
13-
.DS_Store
149
.pnp.*
15-
bun.lockb
1610
package-lock.json
1711
pnpm-lock.yaml
18-
yarn.lock

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@
9090
"clear": "docusaurus clear",
9191
"deploy": "docusaurus deploy",
9292
"fix": "bun run prettier:write && bun run lint:fix",
93-
"lint:check": "bun eslint --cache --cache-location ./node_modules/.cache/eslint/.eslint-cache . --ext md,mdx,ts,tsx",
94-
"lint:fix": "bun eslint --cache --cache-location ./node_modules/.cache/eslint/.eslint-cache . --ext md,mdx,ts,tsx --fix && bun formatter.js",
93+
"lint:check": "bun eslint --cache . --ext md,mdx,ts,tsx",
94+
"lint:fix": "bun eslint --cache . --ext md,mdx,ts,tsx --fix && bun formatter.js",
9595
"prepare": "husky",
96-
"prettier:check": "prettier --cache --cache-location ./node_modules/.cache/prettier/.prettier-cache --check \"**/*.{json,md,mdx,ts,tsx,yml}\"",
97-
"prettier:write": "prettier --cache --cache-location ./node_modules/.cache/prettier/.prettier-cache --write \"**/*.{json,md,mdx,ts,tsx,yml}\"",
96+
"prettier:check": "prettier --cache --check \"**/*.{json,md,mdx,ts,tsx,yml}\"",
97+
"prettier:write": "prettier --cache --write \"**/*.{json,md,mdx,ts,tsx,yml}\"",
9898
"serve": "docusaurus serve",
9999
"start": "docusaurus start",
100100
"submodule-reset": "git submodule deinit --all -f && git submodule update --init --recursive",

0 commit comments

Comments
 (0)