forked from samuelmeuli/prettier-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
23 lines (19 loc) · 653 Bytes
/
Copy pathindex.js
File metadata and controls
23 lines (19 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = {
// Use tabs for indentation (spaces are still used for alignment)
// Default: false
// Also covered by EditorConfig
useTabs: true,
// Line length: 100 characters
// Prettier default: 80
printWidth: 100,
// Trailing comma: Everywhere
// Prettier default: "es5" (only where valid in ES5)
trailingComma: "all",
// Do not wrap Markdown lines (keep paragraphs on a single line)
// The editor should be configured to soft wrap the text instead
// Prettier default: "preserve" (wrap prose as-is)
proseWrap: "never",
// Indent Vue <style> and <script> content
// Prettier default: false
vueIndentScriptAndStyle: true,
};