Skip to content

Commit

Permalink
Move .prettierrc to prettier.config.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
iva2k committed Feb 5, 2024
1 parent 7ba5c07 commit 21240dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

10 changes: 10 additions & 0 deletions prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
overrides: [{ files: '*.svelte', options: { parser: 'svelte' } }],
plugins: ['prettier-plugin-svelte'],
printWidth: 100,
singleQuote: true,
tabWidth: 2,
trailingComma: 'none',
useTabs: false,
svelteSortOrder: 'options-scripts-markup-styles'
};

0 comments on commit 21240dc

Please sign in to comment.