Skip to content

Commit d67f006

Browse files
committedOct 11, 2024
chore: format
1 parent 7290da3 commit d67f006

File tree

190 files changed

+704
-564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+704
-564
lines changed
 
+35-35
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
/** @type {import('prettier').Config & import('prettier-plugin-tailwindcss').PluginOptions} */
2-
const config = {
3-
singleQuote: false,
4-
bracketSpacing: true,
5-
jsxSingleQuote: false,
6-
bracketSameLine: false,
7-
trailingComma: "es5",
8-
semi: true,
9-
printWidth: 80,
10-
arrowParens: "always",
11-
endOfLine: "auto",
12-
importOrder: [
13-
"^(react/(.*)$)|^(react$)",
14-
"^(next/(.*)$)|^(next$)",
15-
"<THIRD_PARTY_MODULES>",
16-
"^(@/components/(.*)$)",
17-
"^(@/hooks/(.*)$)",
18-
"^(@/utils/(.*)$)",
19-
"^(@/lib/(.*)$)",
20-
"^(@/styles/(.*)$)",
21-
"^(@/assets/(.*)$)",
22-
"^(@/types/(.*)$)",
23-
"^(@/(.*)$)",
24-
"^~/(.*)$",
25-
"^[./]",
26-
],
27-
importOrderSeparation: false,
28-
tailwindFunctions: ["tv", "cn"],
29-
plugins: [
30-
"@trivago/prettier-plugin-sort-imports",
31-
"prettier-plugin-tailwindcss",
32-
],
33-
};
34-
35-
export default config;
1+
module.exports = {
2+
singleQuote: false,
3+
bracketSpacing: true,
4+
jsxSingleQuote: false,
5+
bracketSameLine: false,
6+
trailingComma: "es5",
7+
semi: true,
8+
printWidth: 80,
9+
arrowParens: "always",
10+
endOfLine: "auto",
11+
importOrder: [
12+
"^(react/(.*)$)|^(react$)",
13+
"^(next/(.*)$)|^(next$)",
14+
"<THIRD_PARTY_MODULES>",
15+
"^@/config/(.*)$",
16+
"^@/lib/(.*)$",
17+
"^@/hooks/(.*)$",
18+
"^@/components/ui/(.*)$",
19+
"^@/components/(.*)$",
20+
"^@/registry/(.*)$",
21+
"^@/styles/(.*)$",
22+
"^@/app/(.*)$",
23+
"^types$",
24+
"^@/types/(.*)$",
25+
"^@/(.*)$",
26+
"^~/(.*)$",
27+
"^[./]",
28+
],
29+
importOrderSeparation: false,
30+
tailwindFunctions: ["tv", "cn"],
31+
plugins: [
32+
"@trivago/prettier-plugin-sort-imports",
33+
"prettier-plugin-tailwindcss",
34+
],
35+
};

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"start:cli": "pnpm --filter=dotui start",
2929
"lint": "turbo run lint && manypkg check",
3030
"lint:fix": "turbo run lint:fix && manypkg fix",
31-
"format": "turbo run format:write",
31+
"format": "turbo run format",
3232
"format:check": "turbo run format:check",
3333
"preview": "turbo run preview",
3434
"typecheck": "turbo run typecheck",

0 commit comments

Comments
 (0)
Please sign in to comment.