Skip to content

Commit

Permalink
tweak config a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Aug 8, 2024
1 parent a5dabc4 commit 7108340
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion scripts/prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,27 @@ export default {
files: '*.component.html',
options: { parser: 'angular' },
},
{
files: ['**/frameworks/angular/src/**/*.ts', '**/frameworks/angular/template/**/*.ts'],
options: { parser: 'babel-ts' },
},
{
files: ['**/docs/**/*.*', '*.md'],
options: {
importOrderSeparation: false,
importOrderSortSpecifiers: false,
},
},
],
plugins: ['@trivago/prettier-plugin-sort-imports'],

importOrder: [
'^node:',
'^react$',
'^storybook/internal',
'^@storybook/(.*)$',
'^@storybook/[^-]*$',
'^@storybook/(?!addon-)(.*)$',
'^@storybook/addon-(.*)$',
'<THIRD_PARTY_MODULES>',
'^[./]',
],
Expand Down

0 comments on commit 7108340

Please sign in to comment.