2022-03-09 17:52:48 +00:00
|
|
|
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)/(.*)$",
|
|
|
|
"^~/(.*)$",
|
|
|
|
"^[./]",
|
|
|
|
],
|
2022-03-09 17:52:48 +00:00
|
|
|
importOrderSeparation: true,
|
2023-03-28 06:00:02 +00:00
|
|
|
plugins: [
|
|
|
|
"@trivago/prettier-plugin-sort-imports",
|
|
|
|
/**
|
|
|
|
* **NOTE** tailwind plugin must come last!
|
|
|
|
* @see https://github.com/tailwindlabs/prettier-plugin-tailwindcss#compatibility-with-other-prettier-plugins
|
|
|
|
*/
|
|
|
|
"prettier-plugin-tailwindcss",
|
|
|
|
],
|
2022-11-22 19:03:45 +00:00
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ["apps/website/lib/utils/wordlist/wordlist.ts"],
|
|
|
|
options: {
|
|
|
|
quoteProps: "consistent",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2022-03-09 17:52:48 +00:00
|
|
|
};
|