-
Notifications
You must be signed in to change notification settings - Fork 6
/
.prettierrc
48 lines (48 loc) · 1006 Bytes
/
.prettierrc
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
printWidth: 120
tabWidth: 2
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:
- "*.yml"
- ".prettierrc"
options:
parser: "yaml"
singleQuote: false
- files:
- "*.md"
options:
parser: "markdown"
- files:
- "*.scss"
options:
parser: "scss"
- files:
- "*.css"
options:
parser: "css"