create-apppaaaul 2.0.11 → 2.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -20
- package/dist/index.js +0 -0
- package/dist/index.js.map +1 -1
- package/dist/templates/nextjs-ts-clean/.cursor/rules/bootstrap-cursor-rules.mdc +44 -44
- package/dist/templates/nextjs-ts-clean/.cursor/rules/front-end-cursor-rules.mdc +37 -37
- package/dist/templates/nextjs-ts-clean/.cursor/rules/optimized-nextjs-typescript-best-practices-modern-ui-ux.mdc +57 -57
- package/dist/templates/{nextjs-ts-landing-drizzle → nextjs-ts-clean/project/.cursor}/rules/bootstrap-cursor-rules.mdc +44 -44
- package/dist/templates/{nextjs-ts-landing-drizzle → nextjs-ts-clean/project/.cursor}/rules/front-end-cursor-rules.mdc +37 -37
- package/dist/templates/{nextjs-ts-landing-prisma → nextjs-ts-clean/project/.cursor}/rules/optimized-nextjs-typescript-best-practices-modern-ui-ux.mdc +57 -57
- package/dist/templates/nextjs-ts-clean/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-clean/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-clean/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-clean/project/README.md +15 -15
- package/dist/templates/nextjs-ts-clean/project/components.json +20 -20
- package/dist/templates/nextjs-ts-clean/project/eslint.config.mjs +21 -10
- package/dist/templates/nextjs-ts-clean/project/next.config.mjs +13 -13
- package/dist/templates/nextjs-ts-clean/project/package.json +48 -49
- package/dist/templates/nextjs-ts-clean/project/postcss.config.js +3 -3
- package/dist/templates/nextjs-ts-clean/project/src/app/globals.css +228 -228
- package/dist/templates/nextjs-ts-clean/project/src/app/layout.tsx +26 -26
- package/dist/templates/nextjs-ts-clean/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-clean/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-clean/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-clean/project/tailwind.config.ts +94 -94
- package/dist/templates/nextjs-ts-clean/project/tsconfig.json +26 -26
- package/dist/templates/nextjs-ts-landing/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing/project/.vscode/settings.json +8 -8
- package/dist/templates/{nextjs-ts-landing-prisma → nextjs-ts-landing-drizzle/project/.cursor}/rules/bootstrap-cursor-rules.mdc +44 -44
- package/dist/templates/{nextjs-ts-landing-prisma → nextjs-ts-landing-drizzle/project/.cursor}/rules/front-end-cursor-rules.mdc +37 -37
- package/dist/templates/nextjs-ts-landing-drizzle/{rules → project/.cursor/rules}/optimized-nextjs-typescript-best-practices-modern-ui-ux.mdc +57 -57
- package/dist/templates/nextjs-ts-landing-drizzle/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing-drizzle/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing-drizzle/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-landing-drizzle/project/README.md +15 -15
- package/dist/templates/nextjs-ts-landing-drizzle/project/components.json +20 -20
- package/dist/templates/nextjs-ts-landing-drizzle/project/drizzle.config.ts +11 -11
- package/dist/templates/nextjs-ts-landing-drizzle/project/eslint.config.mjs +183 -0
- package/dist/templates/nextjs-ts-landing-drizzle/project/next.config.mjs +10 -10
- package/dist/templates/nextjs-ts-landing-drizzle/project/package.json +57 -58
- package/dist/templates/nextjs-ts-landing-drizzle/project/postcss.config.js +3 -3
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/api/auth/[...nextauth]/route.ts +3 -3
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/globals.css +161 -161
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/layout.tsx +25 -25
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/auth.ts +79 -79
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/db/index.ts +25 -25
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/db/schema.ts +93 -93
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-landing-drizzle/project/tailwind.config.ts +80 -80
- package/dist/templates/nextjs-ts-landing-drizzle/project/tsconfig.json +27 -27
- package/dist/templates/nextjs-ts-landing-prisma/project/.cursor/rules/bootstrap-cursor-rules.mdc +45 -0
- package/dist/templates/nextjs-ts-landing-prisma/project/.cursor/rules/front-end-cursor-rules.mdc +38 -0
- package/dist/templates/nextjs-ts-landing-prisma/project/.cursor/rules/optimized-nextjs-typescript-best-practices-modern-ui-ux.mdc +58 -0
- package/dist/templates/nextjs-ts-landing-prisma/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing-prisma/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing-prisma/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-landing-prisma/project/README.md +15 -15
- package/dist/templates/nextjs-ts-landing-prisma/project/components.json +20 -20
- package/dist/templates/nextjs-ts-landing-prisma/project/eslint.config.mjs +25 -14
- package/dist/templates/nextjs-ts-landing-prisma/project/next.config.mjs +10 -10
- package/dist/templates/nextjs-ts-landing-prisma/project/package.json +57 -59
- package/dist/templates/nextjs-ts-landing-prisma/project/postcss.config.mjs +3 -3
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/migrations/20250329125127_init/migration.sql +25 -25
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/migrations/migration_lock.toml +2 -2
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/schema.prisma +24 -24
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/api/auth/[...nextauth]/route.ts +3 -3
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/globals.css +205 -205
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/layout.tsx +26 -26
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-landing-prisma/project/src/auth.ts +31 -31
- package/dist/templates/nextjs-ts-landing-prisma/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-landing-prisma/project/src/lib/db.ts +9 -9
- package/dist/templates/nextjs-ts-landing-prisma/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-landing-prisma/project/tailwind.config.ts +80 -80
- package/dist/templates/nextjs-ts-landing-prisma/project/tsconfig.json +27 -27
- package/package.json +43 -43
- package/dist/templates/nextjs-ts-landing/project/.eslintrc.cjs +0 -101
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import type {Config} from "tailwindcss";
|
|
2
|
-
|
|
3
|
-
const config = {
|
|
4
|
-
darkMode: ["class"],
|
|
5
|
-
content: [
|
|
6
|
-
"./pages/**/*.{ts,tsx}",
|
|
7
|
-
"./components/**/*.{ts,tsx}",
|
|
8
|
-
"./app/**/*.{ts,tsx}",
|
|
9
|
-
"./src/**/*.{ts,tsx}",
|
|
10
|
-
],
|
|
11
|
-
prefix: "",
|
|
12
|
-
theme: {
|
|
13
|
-
container: {
|
|
14
|
-
center: true,
|
|
15
|
-
padding: "2rem",
|
|
16
|
-
screens: {
|
|
17
|
-
"2xl": "1400px",
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
extend: {
|
|
21
|
-
colors: {
|
|
22
|
-
border: "rgb(var(--border))",
|
|
23
|
-
input: "rgb(var(--input))",
|
|
24
|
-
ring: "rgb(var(--ring))",
|
|
25
|
-
background: "rgb(var(--background))",
|
|
26
|
-
foreground: "rgb(var(--foreground))",
|
|
27
|
-
primary: {
|
|
28
|
-
DEFAULT: "rgb(var(--primary))",
|
|
29
|
-
foreground: "rgb(var(--primary-foreground))",
|
|
30
|
-
},
|
|
31
|
-
secondary: {
|
|
32
|
-
DEFAULT: "rgb(var(--secondary))",
|
|
33
|
-
foreground: "rgb(var(--secondary-foreground))",
|
|
34
|
-
},
|
|
35
|
-
destructive: {
|
|
36
|
-
DEFAULT: "rgb(var(--destructive))",
|
|
37
|
-
foreground: "rgb(var(--destructive-foreground))",
|
|
38
|
-
},
|
|
39
|
-
muted: {
|
|
40
|
-
DEFAULT: "rgb(var(--muted))",
|
|
41
|
-
foreground: "rgb(var(--muted-foreground))",
|
|
42
|
-
},
|
|
43
|
-
accent: {
|
|
44
|
-
DEFAULT: "rgb(var(--accent))",
|
|
45
|
-
foreground: "rgb(var(--accent-foreground))",
|
|
46
|
-
},
|
|
47
|
-
popover: {
|
|
48
|
-
DEFAULT: "rgb(var(--popover))",
|
|
49
|
-
foreground: "rgb(var(--popover-foreground))",
|
|
50
|
-
},
|
|
51
|
-
card: {
|
|
52
|
-
DEFAULT: "rgb(var(--card))",
|
|
53
|
-
foreground: "rgb(var(--card-foreground))",
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
borderRadius: {
|
|
57
|
-
lg: "var(--radius)",
|
|
58
|
-
md: "calc(var(--radius) - 2px)",
|
|
59
|
-
sm: "calc(var(--radius) - 4px)",
|
|
60
|
-
},
|
|
61
|
-
keyframes: {
|
|
62
|
-
"accordion-down": {
|
|
63
|
-
from: {height: "0"},
|
|
64
|
-
to: {height: "var(--radix-accordion-content-height)"},
|
|
65
|
-
},
|
|
66
|
-
"accordion-up": {
|
|
67
|
-
from: {height: "var(--radix-accordion-content-height)"},
|
|
68
|
-
to: {height: "0"},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
animation: {
|
|
72
|
-
"accordion-down": "accordion-down 0.2s ease-out",
|
|
73
|
-
"accordion-up": "accordion-up 0.2s ease-out",
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
plugins: [require("tailwindcss-animate")],
|
|
78
|
-
} satisfies Config;
|
|
79
|
-
|
|
80
|
-
export default config;
|
|
1
|
+
import type {Config} from "tailwindcss";
|
|
2
|
+
|
|
3
|
+
const config = {
|
|
4
|
+
darkMode: ["class"],
|
|
5
|
+
content: [
|
|
6
|
+
"./pages/**/*.{ts,tsx}",
|
|
7
|
+
"./components/**/*.{ts,tsx}",
|
|
8
|
+
"./app/**/*.{ts,tsx}",
|
|
9
|
+
"./src/**/*.{ts,tsx}",
|
|
10
|
+
],
|
|
11
|
+
prefix: "",
|
|
12
|
+
theme: {
|
|
13
|
+
container: {
|
|
14
|
+
center: true,
|
|
15
|
+
padding: "2rem",
|
|
16
|
+
screens: {
|
|
17
|
+
"2xl": "1400px",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
extend: {
|
|
21
|
+
colors: {
|
|
22
|
+
border: "rgb(var(--border))",
|
|
23
|
+
input: "rgb(var(--input))",
|
|
24
|
+
ring: "rgb(var(--ring))",
|
|
25
|
+
background: "rgb(var(--background))",
|
|
26
|
+
foreground: "rgb(var(--foreground))",
|
|
27
|
+
primary: {
|
|
28
|
+
DEFAULT: "rgb(var(--primary))",
|
|
29
|
+
foreground: "rgb(var(--primary-foreground))",
|
|
30
|
+
},
|
|
31
|
+
secondary: {
|
|
32
|
+
DEFAULT: "rgb(var(--secondary))",
|
|
33
|
+
foreground: "rgb(var(--secondary-foreground))",
|
|
34
|
+
},
|
|
35
|
+
destructive: {
|
|
36
|
+
DEFAULT: "rgb(var(--destructive))",
|
|
37
|
+
foreground: "rgb(var(--destructive-foreground))",
|
|
38
|
+
},
|
|
39
|
+
muted: {
|
|
40
|
+
DEFAULT: "rgb(var(--muted))",
|
|
41
|
+
foreground: "rgb(var(--muted-foreground))",
|
|
42
|
+
},
|
|
43
|
+
accent: {
|
|
44
|
+
DEFAULT: "rgb(var(--accent))",
|
|
45
|
+
foreground: "rgb(var(--accent-foreground))",
|
|
46
|
+
},
|
|
47
|
+
popover: {
|
|
48
|
+
DEFAULT: "rgb(var(--popover))",
|
|
49
|
+
foreground: "rgb(var(--popover-foreground))",
|
|
50
|
+
},
|
|
51
|
+
card: {
|
|
52
|
+
DEFAULT: "rgb(var(--card))",
|
|
53
|
+
foreground: "rgb(var(--card-foreground))",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
borderRadius: {
|
|
57
|
+
lg: "var(--radius)",
|
|
58
|
+
md: "calc(var(--radius) - 2px)",
|
|
59
|
+
sm: "calc(var(--radius) - 4px)",
|
|
60
|
+
},
|
|
61
|
+
keyframes: {
|
|
62
|
+
"accordion-down": {
|
|
63
|
+
from: {height: "0"},
|
|
64
|
+
to: {height: "var(--radix-accordion-content-height)"},
|
|
65
|
+
},
|
|
66
|
+
"accordion-up": {
|
|
67
|
+
from: {height: "var(--radix-accordion-content-height)"},
|
|
68
|
+
to: {height: "0"},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
animation: {
|
|
72
|
+
"accordion-down": "accordion-down 0.2s ease-out",
|
|
73
|
+
"accordion-up": "accordion-up 0.2s ease-out",
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
plugins: [require("tailwindcss-animate")],
|
|
78
|
+
} satisfies Config;
|
|
79
|
+
|
|
80
|
+
export default config;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es6",
|
|
4
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"noEmit": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"module": "esnext",
|
|
11
|
-
"moduleResolution": "bundler",
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"jsx": "preserve",
|
|
15
|
-
"incremental": true,
|
|
16
|
-
"plugins": [
|
|
17
|
-
{
|
|
18
|
-
"name": "next"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"paths": {
|
|
22
|
-
"@/*": ["./src/*"]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
26
|
-
"exclude": ["node_modules"]
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es6",
|
|
4
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"skipLibCheck": true,
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"module": "esnext",
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"jsx": "preserve",
|
|
15
|
+
"incremental": true,
|
|
16
|
+
"plugins": [
|
|
17
|
+
{
|
|
18
|
+
"name": "next"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"paths": {
|
|
22
|
+
"@/*": ["./src/*"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
26
|
+
"exclude": ["node_modules"]
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "create-apppaaaul",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Create projects as paaauldev would",
|
|
5
|
-
"main": "index.mjs",
|
|
6
|
-
"bin": {
|
|
7
|
-
"create-apppaaaul": "dist/index.js"
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"dist/**/*"
|
|
11
|
-
],
|
|
12
|
-
"keywords": [
|
|
13
|
-
"react",
|
|
14
|
-
"goncy",
|
|
15
|
-
"paaauldev",
|
|
16
|
-
"next.js",
|
|
17
|
-
"shadcn",
|
|
18
|
-
"tailwindcss"
|
|
19
|
-
],
|
|
20
|
-
"author": "paaauldev",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"cross-spawn": "^7.0.6",
|
|
24
|
-
"glob": "^10.4.5",
|
|
25
|
-
"picocolors": "^1.1.1",
|
|
26
|
-
"prompts": "^2.4.2",
|
|
27
|
-
"yargs": "^17.7.2"
|
|
28
|
-
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"build": "tsup",
|
|
31
|
-
"start": "node dist/index.js",
|
|
32
|
-
"dev": "tsup --watch",
|
|
33
|
-
"bump": "pnpm run build && pnpm version patch && git tag latest --force && git push origin main --tags --force && npm publish --tag latest --force"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@types/node": "^20.17.27",
|
|
37
|
-
"@types/prompts": "^2.4.9",
|
|
38
|
-
"@types/yargs": "^17.0.33",
|
|
39
|
-
"prettier": "^3.5.3",
|
|
40
|
-
"tsup": "^8.4.0",
|
|
41
|
-
"typescript": "^5.8.2"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "create-apppaaaul",
|
|
3
|
+
"version": "2.0.13",
|
|
4
|
+
"description": "Create projects as paaauldev would",
|
|
5
|
+
"main": "index.mjs",
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-apppaaaul": "dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/**/*"
|
|
11
|
+
],
|
|
12
|
+
"keywords": [
|
|
13
|
+
"react",
|
|
14
|
+
"goncy",
|
|
15
|
+
"paaauldev",
|
|
16
|
+
"next.js",
|
|
17
|
+
"shadcn",
|
|
18
|
+
"tailwindcss"
|
|
19
|
+
],
|
|
20
|
+
"author": "paaauldev",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"cross-spawn": "^7.0.6",
|
|
24
|
+
"glob": "^10.4.5",
|
|
25
|
+
"picocolors": "^1.1.1",
|
|
26
|
+
"prompts": "^2.4.2",
|
|
27
|
+
"yargs": "^17.7.2"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsup",
|
|
31
|
+
"start": "node dist/index.js",
|
|
32
|
+
"dev": "tsup --watch",
|
|
33
|
+
"bump": "pnpm run build && pnpm version patch && git tag latest --force && git push origin main --tags --force && npm publish --tag latest --force"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@types/node": "^20.17.27",
|
|
37
|
+
"@types/prompts": "^2.4.9",
|
|
38
|
+
"@types/yargs": "^17.0.33",
|
|
39
|
+
"prettier": "^3.5.3",
|
|
40
|
+
"tsup": "^8.4.0",
|
|
41
|
+
"typescript": "^5.8.2"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
const { resolve } = require("node:path");
|
|
2
|
-
|
|
3
|
-
const project = resolve(__dirname, "tsconfig.json");
|
|
4
|
-
|
|
5
|
-
module.exports = {
|
|
6
|
-
root: true,
|
|
7
|
-
plugins: ["prettier", "import"],
|
|
8
|
-
extends: [
|
|
9
|
-
require.resolve("@vercel/style-guide/eslint/typescript"),
|
|
10
|
-
require.resolve("@vercel/style-guide/eslint/react"),
|
|
11
|
-
require.resolve("@vercel/style-guide/eslint/next"),
|
|
12
|
-
"plugin:prettier/recommended",
|
|
13
|
-
],
|
|
14
|
-
parserOptions: {
|
|
15
|
-
ecmaVersion: "latest",
|
|
16
|
-
project,
|
|
17
|
-
},
|
|
18
|
-
settings: {
|
|
19
|
-
"import/resolver": {
|
|
20
|
-
typescript: {
|
|
21
|
-
project,
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
rules: {
|
|
26
|
-
"prettier/prettier": [
|
|
27
|
-
"warn",
|
|
28
|
-
{
|
|
29
|
-
printWidth: 100,
|
|
30
|
-
trailingComma: "all",
|
|
31
|
-
tabWidth: 2,
|
|
32
|
-
semi: true,
|
|
33
|
-
singleQuote: false,
|
|
34
|
-
bracketSpacing: true,
|
|
35
|
-
arrowParens: "always",
|
|
36
|
-
endOfLine: "auto",
|
|
37
|
-
plugins: ["prettier-plugin-tailwindcss"],
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
"import/no-default-export": "off",
|
|
41
|
-
"import/order": [
|
|
42
|
-
"warn",
|
|
43
|
-
{
|
|
44
|
-
groups: ["type", "builtin", "object", "external", "internal", "parent", "sibling", "index"],
|
|
45
|
-
pathGroups: [
|
|
46
|
-
{
|
|
47
|
-
pattern: "~/**",
|
|
48
|
-
group: "external",
|
|
49
|
-
position: "after",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
"newlines-between": "always",
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
"padding-line-between-statements": [
|
|
56
|
-
"warn",
|
|
57
|
-
{ blankLine: "always", prev: "*", next: ["return", "export"] },
|
|
58
|
-
{ blankLine: "always", prev: ["const", "let", "var"], next: "*" },
|
|
59
|
-
{ blankLine: "any", prev: ["const", "let", "var"], next: ["const", "let", "var"] },
|
|
60
|
-
],
|
|
61
|
-
"no-console": "warn",
|
|
62
|
-
"react/prop-types": "off",
|
|
63
|
-
"react/jsx-uses-react": "off",
|
|
64
|
-
"react/react-in-jsx-scope": "off",
|
|
65
|
-
"react/self-closing-comp": "warn",
|
|
66
|
-
"react/jsx-sort-props": [
|
|
67
|
-
"warn",
|
|
68
|
-
{
|
|
69
|
-
callbacksLast: true,
|
|
70
|
-
shorthandFirst: true,
|
|
71
|
-
noSortAlphabetically: false,
|
|
72
|
-
reservedFirst: true,
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
"@typescript-eslint/no-non-null-assertion": "off",
|
|
76
|
-
"@typescript-eslint/no-shadow": "off",
|
|
77
|
-
"@typescript-eslint/explicit-function-return-type": "off",
|
|
78
|
-
"@typescript-eslint/require-await": "off",
|
|
79
|
-
"@typescript-eslint/no-floating-promises": "off",
|
|
80
|
-
"@typescript-eslint/no-confusing-void-expression": "off",
|
|
81
|
-
"@typescript-eslint/no-unused-vars": [
|
|
82
|
-
"warn",
|
|
83
|
-
{
|
|
84
|
-
args: "after-used",
|
|
85
|
-
ignoreRestSiblings: false,
|
|
86
|
-
argsIgnorePattern: "^_.*?$",
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
"@next/next/no-img-element": "off",
|
|
90
|
-
"jsx-a11y/no-static-element-interactions": "off",
|
|
91
|
-
"jsx-a11y/click-events-have-key-events": "off",
|
|
92
|
-
"@typescript-eslint/no-unsafe-call": "off",
|
|
93
|
-
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
94
|
-
"@typescript-eslint/no-misused-promises": "off",
|
|
95
|
-
"@typescript-eslint/no-unnecessary-condition": "off",
|
|
96
|
-
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
97
|
-
"@typescript-eslint/no-unsafe-return": "off",
|
|
98
|
-
"@typescript-eslint/no-unsafe-argument": "off",
|
|
99
|
-
"@typescript-eslint/restrict-template-expressions": "off",
|
|
100
|
-
},
|
|
101
|
-
};
|