cal.pub0.org/packages/config/prettier-preset.js

21 lines
433 B
JavaScript
Raw Normal View History

module.exports = {
bracketSpacing: true,
bracketSameLine: true,
singleQuote: false,
jsxSingleQuote: false,
trailingComma: "es5",
semi: true,
printWidth: 110,
arrowParens: "always",
2022-04-20 18:37:03 +00:00
importOrder: [
"^@(calcom|ee)/(.*)$",
"^@lib/(.*)$",
"^@components/(.*)$",
"^@(server|trpc)/(.*)$",
"^~/(.*)$",
"^[./]",
],
importOrderSeparation: true,
plugins: [require("./merged-prettier-plugin")],
};