-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvetur.config.js
More file actions
28 lines (28 loc) · 795 Bytes
/
vetur.config.js
File metadata and controls
28 lines (28 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = {
settings: {
'vetur.format.defaultFormatterOptions': {
prettier: {
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: false,
singleQuote: true,
quoteProps: 'as-needed',
jsxSingleQuote: true,
trailingComma: 'none',
bracketSpacing: true,
jsxBracketSameLine: true,
arrowParens: 'always',
requirePragma: false,
insertPragma: false,
proseWrap: 'preserve',
htmlWhitespaceSensitivity: 'ignore',
vueIndentScriptAndStyle: false,
endOfLine: 'lf',
embeddedLanguageFormatting: 'auto'
}
},
'vetur.format.defaultFormatter.js': 'vscode-typescript',
'javascript.format.insertSpaceBeforeFunctionParenthesis': true
}
}