Skip to content

Commit

Permalink
feat(ui): update prettier plugin organize imports (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyFigueroa authored Sep 16, 2024
1 parent 08c8c40 commit 115cc6b
Show file tree
Hide file tree
Showing 125 changed files with 582 additions and 156 deletions.
18 changes: 0 additions & 18 deletions ui/.prettierrc

This file was deleted.

30 changes: 30 additions & 0 deletions ui/.prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = {
useTabs: false,
tabWidth: 2,
singleQuote: true,
trailingComma: 'all',
printWidth: 120,
semi: false,
htmlWhitespaceSensitivity: 'ignore',
importOrder: [
'^(svelte/(.*)$)|^(svelte$)',
'',
'<THIRD_PARTY_MODULES>',
'',
'$app/(.*)$',
'$features/(.*)$',
'$components/(.*)$',
'$lib/(.*)$',
'',
'^[./]',
],
plugins: ['prettier-plugin-svelte', '@ianvs/prettier-plugin-sort-imports'],
overrides: [
{
files: '*.svelte',
options: {
parser: 'svelte',
},
},
],
}
Loading

0 comments on commit 115cc6b

Please sign in to comment.