From 2ba6088e979a9cfa16807ad3f4e37807c9411f6f Mon Sep 17 00:00:00 2001 From: Lipis Date: Thu, 25 Feb 2021 20:26:27 +0200 Subject: [PATCH] chore: Use @excalidraw/prettier-config (#3122) --- .prettierrc | 4 ---- package.json | 2 ++ yarn.lock | 5 +++++ 3 files changed, 7 insertions(+), 4 deletions(-) delete mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 32ad81f35..000000000 --- a/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "proseWrap": "never", - "trailingComma": "all" -} diff --git a/package.json b/package.json index 632df5413..4230c3957 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "typescript": "4.1.5" }, "devDependencies": { + "@excalidraw/prettier-config": "1.0.2", "@types/lodash.throttle": "4.1.6", "@types/pako": "1.0.1", "@types/resize-observer-browser": "0.1.5", @@ -78,6 +79,7 @@ "resetMocks": false }, "name": "excalidraw", + "prettier": "@excalidraw/prettier-config", "private": true, "scripts": { "build-node": "node ./scripts/build-node.js", diff --git a/yarn.lock b/yarn.lock index 8f64c1ead..436235e4d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1285,6 +1285,11 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" +"@excalidraw/prettier-config@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@excalidraw/prettier-config/-/prettier-config-1.0.2.tgz#b7c061c99cee2f78b9ca470ea1fbd602683bba65" + integrity sha512-rFIq8+A8WvkEzBsF++Rw6gzxE+hU3ZNkdg8foI+Upz2y/rOC/gUpWJaggPbCkoH3nlREVU59axQjZ1+F6ePRGg== + "@firebase/analytics-types@0.4.0": version "0.4.0" resolved "https://registry.yarnpkg.com/@firebase/analytics-types/-/analytics-types-0.4.0.tgz#d6716f9fa36a6e340bc0ecfe68af325aa6f60508"