chore: add prettier

This commit is contained in:
zihluwang
2025-05-29 08:26:02 +08:00
parent dac603192c
commit 6ac266aaba
2 changed files with 14 additions and 0 deletions
+4
View File
@@ -32,6 +32,7 @@
"eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20", "eslint-plugin-react-refresh": "^0.4.20",
"globals": "^15.15.0", "globals": "^15.15.0",
"prettier": "^3.5.3",
"typescript": "~5.6.3", "typescript": "~5.6.3",
"typescript-eslint": "^8.32.0", "typescript-eslint": "^8.32.0",
"vite": "^6.3.5" "vite": "^6.3.5"
@@ -39,6 +40,9 @@
"pnpm": { "pnpm": {
"ignoredBuiltDependencies": [ "ignoredBuiltDependencies": [
"esbuild" "esbuild"
],
"onlyBuiltDependencies": [
"@tailwindcss/oxide"
] ]
} }
} }
+10
View File
@@ -69,6 +69,9 @@ importers:
globals: globals:
specifier: ^15.15.0 specifier: ^15.15.0
version: 15.15.0 version: 15.15.0
prettier:
specifier: ^3.5.3
version: 3.5.3
typescript: typescript:
specifier: ~5.6.3 specifier: ~5.6.3
version: 5.6.3 version: 5.6.3
@@ -1674,6 +1677,11 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'} engines: {node: '>= 0.8.0'}
prettier@3.5.3:
resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==}
engines: {node: '>=14'}
hasBin: true
prop-types@15.8.1: prop-types@15.8.1:
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
@@ -3766,6 +3774,8 @@ snapshots:
prelude-ls@1.2.1: {} prelude-ls@1.2.1: {}
prettier@3.5.3: {}
prop-types@15.8.1: prop-types@15.8.1:
dependencies: dependencies:
loose-envify: 1.4.0 loose-envify: 1.4.0