Skip to content

Commit 4ea6c9e

Browse files
committed
prettier
1 parent b4dc197 commit 4ea6c9e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.prettierrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,12 @@ module.exports = {
1515
htmlWhitespaceSensitivity: "ignore", // 指定 HTML 文件的全局空白区域敏感度, "ignore" - 空格被认为是不敏感的
1616
jsxSingleQuote: false, // jsx 不使用单引号,而使用双引号
1717
trailingComma: "all", // 在多行逗号分隔的语法结构中,尽可能打印尾随逗号(例如,单行数组从来不使用尾随逗号)
18+
overrides: [
19+
{
20+
files: "*.md",
21+
options: {
22+
proseWrap: "preserve",
23+
},
24+
},
25+
],
1826
};

0 commit comments

Comments
 (0)