initial commit
This commit is contained in:
28
.prettierrc.js
Normal file
28
.prettierrc.js
Normal file
@@ -0,0 +1,28 @@
|
||||
/** @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,
|
||||
};
|
||||
Reference in New Issue
Block a user