-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.prettierrc
More file actions
34 lines (34 loc) · 732 Bytes
/
.prettierrc
File metadata and controls
34 lines (34 loc) · 732 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
29
30
31
32
33
34
printWidth: 120
tabWidth: 4
useTabs: false
endOfLine: lf
overrides:
- files:
- "*.ts"
- "*.js"
options:
parser: "typescript"
arrowParens: always
bracketSpacing: true
semi: true
singleQuote: true
trailingComma: none
- files:
- "package.json"
- "package-lock.json"
options:
parser: "json"
singleQuote: false
trailingComma: none
printWidth: 80
tabWidth: 2
- files:
- "*.json"
options:
parser: "json"
singleQuote: false
trailingComma: none
- files:
- "*.md"
options:
parser: "markdown"