Skip to content

Commit 6cf956b

Browse files
committed
feat: set prettier default printWidth to 120
1 parent 76db369 commit 6cf956b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/constants/prettier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { PartialPrettierExtendedOptions } from '../types'
33
export const DEFAULT_PRETTIER_RULES: PartialPrettierExtendedOptions = {
44
arrowParens: 'avoid',
55
htmlWhitespaceSensitivity: 'ignore',
6-
printWidth: 80,
6+
printWidth: 120,
77
semi: false,
88
singleQuote: true,
99
}

src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export interface OptionsConfig extends OptionsComponentExts {
234234
* {
235235
* "arrowParens": "avoid",
236236
* "htmlWhitespaceSensitivity": "ignore"
237-
* "printWidth": 80,
237+
* "printWidth": 120,
238238
* "semi": false,
239239
* "singleQuote": true,
240240
* }

0 commit comments

Comments
 (0)