Skip to content

Commit

Permalink
fix: make printWidth globally 120 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Sep 19, 2024
1 parent f5f43bc commit 164043a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/formatters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export async function formatters(
const prettierOptions: VendoredPrettierOptions = Object.assign(
{
endOfLine: 'auto',
printWidth: 120,
semi,
singleQuote: quotes === 'single',
tabWidth: typeof indent === 'number' ? indent : 2,
Expand Down Expand Up @@ -182,7 +183,6 @@ export async function formatters(
'error',
formater === 'prettier'
? {
printWidth: 120,
...prettierOptions,
embeddedLanguageFormatting: 'off',
parser: 'markdown',
Expand Down

0 comments on commit 164043a

Please sign in to comment.