From eb85ec39682b5b0384d983f8f22bd2a5da4c0481 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Mon, 18 Jul 2022 23:48:57 +0700 Subject: [PATCH] bump prettier format print width (#5588) --- packages/kit/scripts/extract-types.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kit/scripts/extract-types.js b/packages/kit/scripts/extract-types.js index ade94ed819ed..67e273e977e8 100644 --- a/packages/kit/scripts/extract-types.js +++ b/packages/kit/scripts/extract-types.js @@ -51,7 +51,7 @@ function get_types(code, statements) { const snippet = prettier.format(code.slice(start, statement.end).trim(), { parser: 'typescript', - printWidth: 60, + printWidth: 80, useTabs: true, singleQuote: true, trailingComma: 'none'