From 44f866419cde0ff12a91d9c1d92daf9e36b063e1 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 20 四月 2023 13:22:38 +0800
Subject: [PATCH] backup0420
---
.prettierrc | 37 +++++++++++++++++++++++++------------
1 files changed, 25 insertions(+), 12 deletions(-)
diff --git a/.prettierrc b/.prettierrc
index 15683b6..449f1b9 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,13 +1,26 @@
{
- "trailingComma": "none",
- "overrides": [
- {
- "files": "**/lwc/**/*.html",
- "options": { "parser": "lwc" }
- },
- {
- "files": "*.{cmp,page,component}",
- "options": { "parser": "html" }
- }
- ]
-}
+ "trailingComma": "none",
+ "singleQuote": true,
+ "tabWidth": 4,
+ "overrides": [
+ {
+ "files": "**/lwc/**/*.html",
+ "options": {
+ "parser": "lwc"
+ }
+ },
+ {
+ "files": "**/*.{cls,trigger,apex}",
+ "options": {
+ "apexInsertFinalNewline": true,
+ "printWidth": 140
+ }
+ },
+ {
+ "files": "*.{cmp,page,component}",
+ "options": {
+ "parser": "html"
+ }
+ }
+ ]
+}
\ No newline at end of file
--
Gitblit v1.9.1