mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
[Update] Update various configuration files, ESLint config, Prettier config, and added new files including a CHANGELOG.md.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
"use strict";
|
||||
module.exports = {
|
||||
plugins: ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"],
|
||||
printWidth: 120,
|
||||
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,
|
||||
|
||||
tailwindAttributes: ["classNames", "wrapperClassName", "rootClassName"],
|
||||
tailwindFunctions: ["twsx", "cn"],
|
||||
tailwindConfig: "./tailwind.config.ts",
|
||||
|
||||
importOrder: [
|
||||
"<THIRD_PARTY_MODULES>",
|
||||
"^~/(app|components)/(.*)$",
|
||||
"^~/(utils|hooks|context|lib)/(.*)$",
|
||||
"^~/types/(.*)$",
|
||||
"^~/(config|styles|actions|constant)/(.*)$",
|
||||
"^(config|actions)$",
|
||||
"^[./]",
|
||||
],
|
||||
importOrderSeparation: true,
|
||||
importOrderSortSpecifiers: true,
|
||||
};
|
||||
Reference in New Issue
Block a user