Skip to content

Commit de0af15

Browse files
feat(prettierOnMarkdown):Added prettier config default to config manager
1 parent 33161e4 commit de0af15

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

browser/main/lib/ConfigManager.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,15 @@ export const DEFAULT_CONFIG = {
6666
spellcheck: false,
6767
enableSmartPaste: false,
6868
enableMarkdownLint: false,
69-
customMarkdownLintConfig: DEFAULT_MARKDOWN_LINT_CONFIG
69+
customMarkdownLintConfig: DEFAULT_MARKDOWN_LINT_CONFIG,
70+
prettierConfig: ` {
71+
"trailingComma": "es5",
72+
"tabWidth": 4,
73+
"semi": false,
74+
"singleQuote": true,
75+
"parser":"markdown"
76+
}`
77+
7078
},
7179
preview: {
7280
fontSize: '14',

0 commit comments

Comments
 (0)