Skip to content

Commit 865af59

Browse files
committed
feat: added v2
1 parent b74e709 commit 865af59

File tree

696 files changed

+22488
-26793
lines changed

Some content is hidden

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

696 files changed

+22488
-26793
lines changed

.eslintrc.cjs

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/** @type {import("eslint").Linter.Config} */
2+
const config = {
3+
parser: "@typescript-eslint/parser",
4+
parserOptions: {
5+
project: true,
6+
},
7+
plugins: ["@typescript-eslint", "tailwindcss"],
8+
extends: [
9+
"next/core-web-vitals",
10+
"plugin:@typescript-eslint/recommended-type-checked",
11+
"prettier",
12+
"plugin:tailwindcss/recommended",
13+
],
14+
rules: {
15+
"tailwindcss/no-custom-classname": "off",
16+
"@typescript-eslint/no-floating-promises": "off",
17+
"@typescript-eslint/no-unsafe-call": "off",
18+
"@typescript-eslint/no-unsafe-argument": "off",
19+
"@typescript-eslint/array-type": "off",
20+
"@typescript-eslint/consistent-type-definitions": "off",
21+
"@typescript-eslint/consistent-type-imports": [
22+
"warn",
23+
{
24+
prefer: "type-imports",
25+
fixStyle: "inline-type-imports",
26+
},
27+
],
28+
"@typescript-eslint/no-unused-vars": [
29+
"warn",
30+
{
31+
argsIgnorePattern: "^_",
32+
varsIgnorePattern: "^_",
33+
caughtErrorsIgnorePattern: "^err",
34+
ignoreRestSiblings: true,
35+
},
36+
],
37+
"@typescript-eslint/require-await": "off",
38+
"@typescript-eslint/no-misused-promises": [
39+
"error",
40+
{
41+
checksVoidReturn: {
42+
attributes: false,
43+
},
44+
},
45+
],
46+
"@typescript-eslint/no-empty-object-type": "off",
47+
},
48+
settings: {
49+
tailwindcss: {
50+
callees: ["cn", "cva"],
51+
config: "./tailwind.config.ts",
52+
classRegex: "^(class(Name)?|tw)$",
53+
},
54+
next: {
55+
rootDir: ["./"],
56+
},
57+
},
58+
}
59+
module.exports = config

.eslintrc.js

Lines changed: 0 additions & 131 deletions
This file was deleted.

.gitignore

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,35 @@
88
# testing
99
/coverage
1010

11+
# database
12+
/prisma/db.sqlite
13+
/prisma/db.sqlite-journal
14+
15+
# next.js
16+
/.next/
17+
/out/
18+
next-env.d.ts
19+
1120
# production
1221
/build
13-
.idea/aws.xml
1422

1523
# misc
1624
.DS_Store
17-
.env.local
18-
.env.development.local
19-
.env.test.local
20-
.env.production.local
25+
*.pem
2126

27+
# debug
2228
npm-debug.log*
2329
yarn-debug.log*
2430
yarn-error.log*
25-
cypress/integration/examples
26-
cypress/videos
27-
cypress/screenshots
28-
cypress/plugins/MetaMask/metamask-chrome-9.5.0/*
29-
cypress/plugins/ssv-network
30-
tmp
31-
tmp/*
32-
yarn.lock
33-
/.vscode/
34-
/.idea/
31+
.pnpm-debug.log*
32+
33+
# local env files
34+
# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
35+
.env
36+
.env*.local
37+
38+
# vercel
39+
.vercel
40+
41+
# typescript
42+
*.tsbuildinfo

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/pre-push

Lines changed: 0 additions & 5 deletions
This file was deleted.

.idea/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)