This commit is contained in:
20
src/prettier.config.mjs
Normal file
20
src/prettier.config.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
/** @type {import("prettier").Config} */
|
||||
|
||||
export default {
|
||||
trailingComma: "none",
|
||||
tabWidth: 4,
|
||||
useTabs: true,
|
||||
semi: false,
|
||||
singleQuote: true,
|
||||
arrowParens: "avoid",
|
||||
importOrderSeparation: true,
|
||||
importOrderSortSpecifiers: true,
|
||||
importOrderCaseInsensitive: true,
|
||||
importOrderParserPlugins: [
|
||||
"classProperties",
|
||||
"decorators-legacy",
|
||||
"typescript",
|
||||
],
|
||||
importOrder: ["<THIRD_PARTY_MODULES>", "^@/(.*)$", "^../(.*)", "^./(.*)"],
|
||||
plugins: ["@trivago/prettier-plugin-sort-imports"],
|
||||
};
|
||||
Reference in New Issue
Block a user