File tree 3 files changed +11
-25
lines changed
3 files changed +11
-25
lines changed Original file line number Diff line number Diff line change 5
5
root = true
6
6
7
7
[* ]
8
-
9
8
indent_style = space
10
9
indent_size = 4
11
10
12
- # We recommend you to keep these unchanged
13
11
end_of_line = lf
14
12
charset = utf-8
15
13
16
14
trim_trailing_whitespace = true
17
15
insert_final_newline = true
18
16
19
- # There's no reason to keep this, it just seems to be the overwhelming style currently.
20
17
[* .html ]
21
18
indent_size = 2
22
19
[* .tx ]
23
20
indent_size = 2
24
-
25
- # yaml indents are weird
21
+ [* .md ]
22
+ indent_size = 2
23
+ max_line_length = 80
26
24
[* .{yml,yaml} ]
27
25
indent_size = 2
26
+ quote_type = single
Original file line number Diff line number Diff line change
1
+ overrides :
2
+ - files : ' *.md'
3
+ options :
4
+ proseWrap : always
Original file line number Diff line number Diff line change @@ -42,28 +42,11 @@ ignore-stderr = [
42
42
" The .+ file is not unique" ,
43
43
]
44
44
45
- [commands .prettier-markdown ]
45
+ [commands .prettier ]
46
46
type = " both"
47
- include = " **/*.md"
47
+ include = [ " **/*.md" , " **/*.yml " , " **/*.yaml " ]
48
48
cmd = [
49
- " npx" , " -s" , " prettier" ,
50
- " --no-config" ,
51
- " --print-width" , " 80" ,
52
- " --prose-wrap" , " always" ,
53
- ]
54
- lint-flags = " --check"
55
- tidy-flags = " --write"
56
- ok-exit-codes = 0
57
- lint-failure-exit-codes = 1
58
- ignore-stderr = [ " Code style issues" ]
59
-
60
- [commands .prettier-yaml ]
61
- type = " both"
62
- include = " **/*.yml"
63
- cmd = [
64
- " npx" , " -s" , " prettier" ,
65
- " --no-config" ,
66
- " --single-quote" ,
49
+ " npx" , " -s" , " prettier"
67
50
]
68
51
lint-flags = " --check"
69
52
tidy-flags = " --write"
You can’t perform that action at this time.
0 commit comments