From fe4e0170c59452ebf1b7fcc6a904e494cdde9e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Chirico=20Indreb=C3=B8?= Date: Tue, 7 Nov 2023 12:52:49 +0100 Subject: [PATCH] Update prettier to match github actions --- frontend/package-lock.json | 15 +++++++-------- frontend/package.json | 4 ++-- .../Pages/InspectionPage/InspectionUtilities.tsx | 4 +++- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index a00be096d..5aaea64fa 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -23,6 +23,7 @@ "@types/react-dom": "^18.0.6", "date-fns": "^2.29.2", "ovenplayer": "^0.10.25", + "prettier": "^3.0.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^3.1.4", @@ -38,8 +39,7 @@ "@types/ovenplayer": "^0.10.1", "@types/react-modal": "^3.13.1", "@types/styled-components": "^5.1.25", - "@types/video.js": "^7.3.50", - "prettier": "^2.8.4" + "@types/video.js": "^7.3.50" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -11665,15 +11665,14 @@ } }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "dev": true, + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", + "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" diff --git a/frontend/package.json b/frontend/package.json index ce11cda4b..37a427bfb 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -19,6 +19,7 @@ "@types/react-dom": "^18.0.6", "date-fns": "^2.29.2", "ovenplayer": "^0.10.25", + "prettier": "^3.0.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^3.1.4", @@ -59,7 +60,6 @@ "@types/ovenplayer": "^0.10.1", "@types/react-modal": "^3.13.1", "@types/styled-components": "^5.1.25", - "@types/video.js": "^7.3.50", - "prettier": "^2.8.4" + "@types/video.js": "^7.3.50" } } diff --git a/frontend/src/components/Pages/InspectionPage/InspectionUtilities.tsx b/frontend/src/components/Pages/InspectionPage/InspectionUtilities.tsx index d7a3d4337..a90aa9ab0 100644 --- a/frontend/src/components/Pages/InspectionPage/InspectionUtilities.tsx +++ b/frontend/src/components/Pages/InspectionPage/InspectionUtilities.tsx @@ -51,7 +51,9 @@ export const StyledDict = { flex: 1 0 0; border-radius: 6px; min-height: 180px; - box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px 0px rgba(0, 0, 0, 0.14); + box-shadow: + 0px 3px 4px 0px rgba(0, 0, 0, 0.12), + 0px 2px 4px 0px rgba(0, 0, 0, 0.14); `, Circle: styled.div` width: 13px;