Skip to content

Commit ff06255

Browse files
committed
enforce line wrapping
1 parent 8b5b469 commit ff06255

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.prettierrc.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
# formatting for prettier-supported files. See `.editorconfig` and
33
# `site/.editorconfig`for whitespace formatting options.
44
printWidth: 80
5+
proseWrap: always
56
semi: false
67
trailingComma: all
78
useTabs: false
89
tabWidth: 2
910
overrides:
1011
- files:
1112
- README.md
13+
- docs/api/**/*.md
14+
- docs/cli/**/*.md
15+
- .github/**/*.{yaml,yml,toml}
16+
- scripts/**/*.{yaml,yml,toml}
1217
options:
1318
proseWrap: preserve
14-
- files:
15-
- "site/**/*.yaml"
16-
- "site/**/*.yml"
17-
options:
18-
proseWrap: always

site/.prettierrc.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
# formatting for prettier-supported files. See `.editorconfig` and
55
# `site/.editorconfig`for whitespace formatting options.
66
printWidth: 80
7+
proseWrap: always
78
semi: false
89
trailingComma: all
910
useTabs: false
1011
tabWidth: 2
1112
overrides:
1213
- files:
1314
- ../README.md
15+
- ../docs/api/**/*.md
16+
- ../docs/cli/**/*.md
17+
- ../.github/**/*.{yaml,yml,toml}
18+
- ../scripts/**/*.{yaml,yml,toml}
1419
options:
1520
proseWrap: preserve
16-
- files:
17-
- ./**/*.yaml
18-
- ./**/*.yml
19-
options:
20-
proseWrap: always

0 commit comments

Comments
 (0)