generated from t3-oss/create-t3-turbo
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lint): 546 add pre commit lint and type check (#26)
- Update app structure and tooling with latest create t3 turbo. - Fix lint issues - Fix typecheck issues - Setup CI lint / typecheck - Setup precommit lint / typecheck
- Loading branch information
Showing
186 changed files
with
2,527 additions
and
2,502 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
NEXT_PUBLIC_BROKER_ID= | ||
NEXT_PUBLIC_IPFS_GATEWAY=https://ipfs.arkproject.dev/ipfs/ | ||
NEXT_PUBLIC_MARKETPLACE_API_URL=https://api.marketplace.arkproject.dev | ||
NEXT_PUBLIC_NFT_API_KEY= | ||
NEXT_PUBLIC_MARKETPLACE_API_URL="https://api.marketplace.arkproject.dev" | ||
NEXT_PUBLIC_NFT_API_URL=https://api.arkproject.dev | ||
NEXT_PUBLIC_ORDERBOOK_API_URL=https://api-orderbook.arkproject.dev | ||
NEXT_PUBLIC_BROKER_ID= | ||
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= | ||
NEXT_PUBLIC_IMAGE_CDN_URL=https://media.arkproject.dev | ||
NEXT_PUBLIC_IMAGE_PROXY_URL=https://imgproxy.arkproject.dev | ||
MOBULA_API_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,7 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"eslint.rules.customizations": [ | ||
{ | ||
"rule": "*", | ||
"severity": "warn" | ||
} | ||
], | ||
"eslint.workingDirectories": [ | ||
{ | ||
"pattern": "apps/*/" | ||
}, | ||
{ | ||
"pattern": "packages/*/" | ||
}, | ||
{ | ||
"pattern": "tooling/*/" | ||
"mode": "auto" | ||
} | ||
], | ||
"tailwindCSS.experimental.classRegex": [ | ||
[ | ||
"cva\\(([^)]*)\\)", | ||
"[\"'`]([^\"'`]*).*?[\"'`]" | ||
], | ||
[ | ||
"cx\\(([^)]*)\\)", | ||
"(?:'|\"|`)([^']*)(?:'|\"|`)" | ||
] | ||
], | ||
"tailwindCSS.experimental.configFile": "./tooling/tailwind/web.ts", | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"typescript.preferences.autoImportFileExcludePatterns": [ | ||
"next/router.d.ts", | ||
"next/dist/client/router.d.ts" | ||
], | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"[dotenv]": { | ||
"editor.defaultFormatter": "foxundermoon.shell-format" | ||
}, | ||
"[ignore]": { | ||
"editor.defaultFormatter": "foxundermoon.shell-format" | ||
} | ||
} | ||
] | ||
} |
65 changes: 0 additions & 65 deletions
65
apps/arkmarket/app/assets/[contract_address]/[token_id]/data.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import baseConfig, { restrictEnvAccess } from "@ark-market/eslint-config/base"; | ||
import nextjsConfig from "@ark-market/eslint-config/nextjs"; | ||
import reactConfig from "@ark-market/eslint-config/react"; | ||
|
||
/** @type {import('typescript-eslint').Config} */ | ||
export default [ | ||
{ | ||
ignores: [".next/**"], | ||
}, | ||
...baseConfig, | ||
...reactConfig, | ||
...nextjsConfig, | ||
...restrictEnvAccess, | ||
]; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.