-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prettierrc.yml
50 lines (46 loc) · 962 Bytes
/
.prettierrc.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Normal Options
arrowParens: "always"
bracketSpacing: false
embeddedLanguageFormatting: "auto"
endOfLine: "lf"
htmlWhitespaceSensitivity: "strict"
bracketSameLine: false
jsxSingleQuote: false
printWidth: 99
quoteProps: "as-needed"
semi: false
singleQuote: false
tabWidth: 4
trailingComma: "all"
useTabs: false
# JSDoc plugin
jsdocSpaces: 1
jsdocDescriptionWithDot: false
jsdocDescriptionTag: false
jsdocVerticalAlignment: false
jsdocKeepUnParseAbleExampleIndent: false
jsdocSingleLineComment: false
tsdoc: true
# Sh plugin
keepComments: true
indent: 4
binaryNextLine: true
switchCaseIndent: true
spaceRedirects: true
keepPadding: false
minify: false
functionNextLine: true
plugins:
- ./node_modules/prettier-plugin-jsdoc
- ./node_modules/prettier-plugin-package
- ./node_modules/prettier-plugin-sh
overrides:
- files:
- "*.html"
- "*.yml"
- "*.yaml"
- "*.json"
- "*.css"
- "*.scss"
options:
tabWidth: 2