-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.prettierrc.yaml
More file actions
34 lines (34 loc) · 708 Bytes
/
.prettierrc.yaml
File metadata and controls
34 lines (34 loc) · 708 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
$schema: http://json.schemastore.org/prettierrc
printWidth: 110
tabWidth: 4
useTabs: false
endOfLine: lf
semi: false
singleQuote: true
quoteProps: 'consistent'
jsxSingleQuote: false
trailingComma: 'es5'
bracketSpacing: true
jsxBracketSameLine: true
arrowParens: 'avoid'
proseWrap: 'always'
overrides:
- files: '*.test.js'
options:
semi: true
- files:
- '*.html'
- 'legacy/**/*.js'
options:
semi: true
- files: '**/*.md*'
options:
proseWrap: 'always'
printWidth: 80
- files: '**/*.{yaml,yml}*'
options:
tabWidth: 2
- files: '**/.all-(contributorsrc|membersrc|sponsorsrc)'
options:
parser: 'json-stringify'
singleQuote: false