File tree Expand file tree Collapse file tree 3 files changed +11
-25
lines changed
Expand file tree Collapse file tree 3 files changed +11
-25
lines changed Original file line number Diff line number Diff line change 55root = true
66
77[* ]
8-
98indent_style = space
109indent_size = 4
1110
12- # We recommend you to keep these unchanged
1311end_of_line = lf
1412charset = utf-8
1513
1614trim_trailing_whitespace = true
1715insert_final_newline = true
1816
19- # There's no reason to keep this, it just seems to be the overwhelming style currently.
2017[* .html ]
2118indent_size = 2
2219[* .tx ]
2320indent_size = 2
24-
25- # yaml indents are weird
21+ [* .md ]
22+ indent_size = 2
23+ max_line_length = 80
2624[* .{yml,yaml} ]
2725indent_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 = [
4242 " The .+ file is not unique" ,
4343]
4444
45- [commands .prettier-markdown ]
45+ [commands .prettier ]
4646type = " both"
47- include = " **/*.md"
47+ include = [ " **/*.md" , " **/*.yml " , " **/*.yaml " ]
4848cmd = [
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"
6750]
6851lint-flags = " --check"
6952tidy-flags = " --write"
You can’t perform that action at this time.
0 commit comments