From a46e4faea391117df836d94d445cd6ff99642209 Mon Sep 17 00:00:00 2001 From: zbf Date: Mon, 21 Oct 2024 10:32:41 +0800 Subject: [PATCH] chore: store Prettier configuration independently --- .prettierrc | 8 ++++++++ package.json | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..8d0e400d --- /dev/null +++ b/.prettierrc @@ -0,0 +1,8 @@ +{ + "singleQuote": true, + "trailingComma": "none", + "semi": true, + "printWidth": 90, + "proseWrap": "never", + "endOfLine": "auto" +} diff --git a/package.json b/package.json index da13fc6c..b8aa01fb 100644 --- a/package.json +++ b/package.json @@ -88,13 +88,5 @@ }, "peerDependencies": { "vue": "^3.2.47" - }, - "prettier": { - "singleQuote": true, - "trailingComma": "none", - "semi": true, - "printWidth": 90, - "proseWrap": "never", - "endOfLine": "auto" } }