diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..a405bf4 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "trailingComma": "es5", + "tabWidth": 2, + "semi": true, + "singleQuote": false +} \ No newline at end of file diff --git a/package.json b/package.json index 2911669..8b2a4ec 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "eslint-config-next": "^13.4.1", "jest": "^28.1.3", "jest-environment-jsdom": "^28.1.3", - "prettier": "^2.8.7", + "prettier": "^3.2.5", "typescript": "^5.3.3" }, "packageManager": "yarn@4.1.0" diff --git a/yarn.lock b/yarn.lock index f8ed10e..5a01f60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -29,7 +29,7 @@ __metadata: moment: "npm:^2.29.4" next: "npm:^13.4.1" nookies: "npm:^2.5.2" - prettier: "npm:^2.8.7" + prettier: "npm:^3.2.5" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" swr: "npm:^2.2.4" @@ -5973,12 +5973,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.8.7": - version: 2.8.7 - resolution: "prettier@npm:2.8.7" +"prettier@npm:^3.2.5": + version: 3.2.5 + resolution: "prettier@npm:3.2.5" bin: - prettier: bin-prettier.js - checksum: 10c0/84c5b62f7d4909ae5b18b1a4cee67f6a30a548244c8919e67158dee1453f4fa4ff4d291c6f2e41e21d443a0c405f03ec27690502d4ad90c3a7c59bcaf38b51ba + prettier: bin/prettier.cjs + checksum: 10c0/ea327f37a7d46f2324a34ad35292af2ad4c4c3c3355da07313339d7e554320f66f65f91e856add8530157a733c6c4a897dc41b577056be5c24c40f739f5ee8c6 languageName: node linkType: hard