mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-21 21:23:06 -05:00
19 lines
491 B
JavaScript
19 lines
491 B
JavaScript
/** @type {import("prettier").Config} */
|
|
const config = {
|
|
arrowParens: 'avoid',
|
|
bracketSpacing: true,
|
|
printWidth: 100,
|
|
proseWrap: 'always',
|
|
quoteProps: 'consistent',
|
|
semi: true,
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'none',
|
|
useTabs: false,
|
|
plugins: ['@trivago/prettier-plugin-sort-imports'],
|
|
importOrder: ['^@common/(.*)$', '^@plugin/(.*)$', '^@ui/(.*)$', '^[./]'],
|
|
importOrderSeparation: true,
|
|
importOrderSortSpecifiers: true
|
|
};
|
|
|
|
export default config;
|