Skip to content

Commit 4981076

Browse files
committed
Use the shareable Prettier config
1 parent 534adc4 commit 4981076

File tree

14 files changed

+44
-7739
lines changed

14 files changed

+44
-7739
lines changed

.prettierignore

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
**/dist/**
2-
**/etc/**
3-
**/temp/**
4-
**/__testfixtures__/**
1+
__testfixtures__/
2+
.docusaurus/
3+
.next/
4+
examples/publish-ci/
5+
.yarn/

.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)