Skip to content

Commit a37de9d

Browse files
committed
Use the shareable Prettier config
1 parent 2ee5643 commit a37de9d

File tree

14 files changed

+70
-7739
lines changed

14 files changed

+70
-7739
lines changed

.prettierignore

+31-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
1-
**/dist/**
2-
**/etc/**
3-
**/temp/**
4-
**/__testfixtures__/**
1+
dist/
2+
temp/
3+
tmp/
4+
__testfixtures__/
5+
build/
6+
lib/
7+
8+
.yalc
9+
yalc.lock
10+
yalc.sig
11+
12+
.idea/
13+
.vscode/
14+
.tmp-projections
15+
coverage/
16+
17+
typesversions
18+
.cache
19+
.yarnrc
20+
.yarn/*
21+
.yarn/releases
22+
**/.yarn/cache
23+
.pnp.*
24+
*.tgz
25+
26+
tsconfig.vitest-temp.json
27+
.eslintcache
28+
29+
.docusaurus/
30+
.next/
31+
examples/publish-ci/

.prettierrc.json

-4
This file was deleted.

examples/query/react/infinite-queries/.prettierrc.json

-4
This file was deleted.

examples/query/react/infinite-queries/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"build": "tsc && vite build",
1010
"preview": "vite preview",
1111
"test": "vitest run",
12-
"format": "prettier --write .",
12+
"format-check": "yarn run -T format-check",
13+
"format": "yarn run -T format",
1314
"lint": "eslint .",
1415
"lint:fix": "eslint --fix .",
1516
"type-check": "tsc --noEmit"
@@ -24,6 +25,7 @@
2425
"react-router": "^7.0.1"
2526
},
2627
"devDependencies": {
28+
"@reduxjs/prettier-config": "workspace:^",
2729
"@testing-library/dom": "^9.3.4",
2830
"@testing-library/jest-dom": "^6.2.0",
2931
"@testing-library/react": "^14.1.2",
@@ -34,7 +36,7 @@
3436
"@vitejs/plugin-react": "^4.2.1",
3537
"jsdom": "^23.2.0",
3638
"msw": "^2.6.6",
37-
"prettier": "^3.2.1",
39+
"prettier": "^3.5.3",
3840
"typescript": "^5.8.2",
3941
"vite": "^5.0.0",
4042
"vitest": "^1.2.0"

0 commit comments

Comments
 (0)