Skip to content

Commit

Permalink
refactor(prettier): update prettier rule for endOfLine to auto
Browse files Browse the repository at this point in the history
  • Loading branch information
a145789 committed Feb 10, 2025
1 parent f0d6520 commit 1546923
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/configs/prettier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ export function createPrettierConfig(): Linter.Config[] {
{
name: createConfigName('prettier/rules'),
rules: {
'prettier/prettier': 'error',
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
},
},
]
Expand Down

0 comments on commit 1546923

Please sign in to comment.