mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 06:11:05 +08:00
25 lines
516 B
JavaScript
25 lines
516 B
JavaScript
export default {
|
|
printWidth: 100,
|
|
tabWidth: 2,
|
|
bracketSpacing: true,
|
|
trailingComma: 'es5',
|
|
singleQuote: true,
|
|
overrides: [
|
|
{
|
|
files: '*.html',
|
|
options: { parser: 'babel' },
|
|
},
|
|
{
|
|
files: '*.component.html',
|
|
options: { parser: 'angular' },
|
|
},
|
|
],
|
|
plugins: ['@trivago/prettier-plugin-sort-imports'],
|
|
|
|
importOrder: ['^storybook/internal', '^@storybook/(.*)$', '^[./]'],
|
|
importOrderSeparation: true,
|
|
importOrderSortSpecifiers: true,
|
|
|
|
arrowParens: 'always',
|
|
};
|