Merge pull request #360 from captableinc/dx-improvements

chore: editor Dx improvements
This commit is contained in:
Puru Dahal
2024-05-28 01:35:22 -05:00
committed by GitHub
3 changed files with 20 additions and 16 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ yarn-error.log*
#local
/local
.vscode/
/prisma/enums.ts
+18 -10
View File
@@ -1,20 +1,28 @@
{
"eslint.validate": [
"javascript",
"javascriptreact",
{ "language": "typescript", "autoFix": true },
{ "language": "typescriptreact", "autoFix": true }
],
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"typescript.tsdk": "node_modules/typescript/lib",
"editor.tabCompletion": "on",
"editor.snippetSuggestions": "top",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"tailwindCSS.experimental.configFile": "./tailwind.config.ts",
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cn\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cx\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
],
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.autoImportFileExcludePatterns": [
"@radix-ui/**",
"next/router.d.ts",
"next/dist/client/router.d.ts"
],
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
+1 -5
View File
@@ -1,5 +1,3 @@
/* eslint-disable @typescript-eslint/no-unsafe-return */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
@@ -34,9 +32,7 @@ const config = {
instrumentationHook: true,
},
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
// ignoreDuringBuilds: true,
ignoreDuringBuilds: true,
},
};