mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
32 lines
808 B
JavaScript
32 lines
808 B
JavaScript
"use strict";
|
|
module.exports = {
|
|
plugins: [require("@trivago/prettier-plugin-sort-imports"), require("prettier-plugin-tailwindcss")],
|
|
printWidth: 80,
|
|
tabWidth: 2,
|
|
useTabs: false,
|
|
semi: true,
|
|
singleQuote: false,
|
|
quoteProps: "consistent",
|
|
jsxSingleQuote: true,
|
|
trailingComma: "all",
|
|
bracketSpacing: true,
|
|
jsxBracketSameLine: false,
|
|
arrowParens: "always",
|
|
proseWrap: "preserve",
|
|
htmlWhitespaceSensitivity: "css",
|
|
endOfLine: "lf",
|
|
embeddedLanguageFormatting: "auto",
|
|
singleAttributePerLine: true,
|
|
importOrder: [
|
|
"<THIRD_PARTY_MODULES>",
|
|
"^components/(.*)$",
|
|
"^(utils|hooks|context)/(.*)$",
|
|
"^types/(.*)$",
|
|
"^(config|styles)/(.*)$",
|
|
"^[./]",
|
|
],
|
|
importOrderSeparation: true,
|
|
importOrderSortSpecifiers: true,
|
|
tailwindFunctions: ["twsx", "cn"],
|
|
};
|