mirror of
https://github.com/klxf/eda-copilot.git
synced 2025-09-21 15:43:26 +08:00
29 lines
741 B
JavaScript
29 lines
741 B
JavaScript
/** @type {import("prettier").Options} */
|
|
module.exports = {
|
|
printWidth: 150,
|
|
tabWidth: 4,
|
|
useTabs: true,
|
|
semi: true,
|
|
singleQuote: true,
|
|
quoteProps: 'preserve',
|
|
trailingComma: 'all',
|
|
bracketSpacing: true,
|
|
bracketSameLine: false,
|
|
arrowParens: 'always',
|
|
rangeStart: 0,
|
|
rangeEnd: Infinity,
|
|
requirePragma: false,
|
|
insertPragma: false,
|
|
proseWrap: 'preserve',
|
|
htmlWhitespaceSensitivity: 'css',
|
|
endOfLine: 'lf',
|
|
embeddedLanguageFormatting: 'auto',
|
|
singleAttributePerLine: false,
|
|
plugins: ['@trivago/prettier-plugin-sort-imports'],
|
|
importOrder: ['<THIRD_PARTY_MODULES>', '^[./]'],
|
|
importOrderSeparation: true,
|
|
importOrderSortSpecifiers: true,
|
|
importOrderGroupNamespaceSpecifiers: false,
|
|
importOrderCaseInsensitive: false,
|
|
};
|