-
Notifications
You must be signed in to change notification settings - Fork 329
/
Copy path.prettierrc.yaml
66 lines (53 loc) · 1.22 KB
/
.prettierrc.yaml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# see https://prettier.io/docs/en/options.html
# Specify the line length that the printer will wrap on.
printWidth: 150
# Specify the number of spaces per indentation-level.
tabWidth: 4
endOfLine: "crlf"
# Whitespaces are considered insensitive.
htmlWhitespaceSensitivity: "ignore"
xmlWhitespaceSensitivity: "ignore"
# Overrides for some file types
overrides:
# .config files are xml style e.g. package.config
- files: "*.config"
options:
parser: "xml"
# comply with the same formatting used by NuGetForUnity
- files:
- "packages.config"
- "NuGet.config"
options:
tabWidth: 2
- files:
- "*.csproj"
- "Directory.Build.props"
options:
parser: "xml"
- files: "*.xlf"
options:
parser: "xml"
- files: "*.DotSettings"
options:
parser: "xml"
printWidth: 300000
xmlWhitespaceSensitivity: "strict"
- files: "*.inputactions"
options:
parser: "json"
- files:
- "*.yml"
- "*.yaml"
- "*.meta"
options:
parser: "yaml"
tabWidth: 2
- files:
- manifest.json
- packages-lock.json
options:
parser: "json"
tabWidth: 2
- files: ".editorconfig"
options:
parser: "ini"