mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-21 18:18:48 -06:00
chore: updated sonar qube and vite config (#5695)
This commit is contained in:
@@ -28,7 +28,6 @@ export default defineConfig({
|
||||
"**/openapi.ts", // OpenAPI spec files
|
||||
"**/openapi-document.ts", // OpenAPI-related document files
|
||||
"**/types/**", // Type definition folders
|
||||
"modules/**/types/**", // Specific type folders within modules
|
||||
"**/types.ts", // Files named 'types.ts'
|
||||
"**/actions.ts", // Server actions (plural)
|
||||
"**/action.ts", // Server actions (singular)
|
||||
@@ -44,15 +43,39 @@ export default defineConfig({
|
||||
"**/Dockerfile", // Dockerfiles
|
||||
"**/*.css", // CSS files
|
||||
"**/templates.ts", // Project-specific template files
|
||||
"scripts/**", // Utility scripts
|
||||
"apps/web/modules/ui/components/icons/*",
|
||||
"**/*.setup.*", // Setup files
|
||||
"**/scripts/**", // Utility scripts
|
||||
"modules/ui/components/icons/*",
|
||||
"**/cache.ts", // Exclude cache files
|
||||
"packages/surveys/src/components/general/smileys.tsx",
|
||||
"apps/web/modules/auth/lib/mock-data.ts", // Exclude mock data files
|
||||
"apps/web/modules/analysis/components/SingleResponseCard/components/Smileys.tsx",
|
||||
"modules/auth/lib/mock-data.ts", // Exclude mock data files
|
||||
"modules/analysis/components/SingleResponseCard/components/Smileys.tsx",
|
||||
"**/*.mjs",
|
||||
"app/**/billing-confirmation/**",
|
||||
"modules/ee/billing/**",
|
||||
"modules/ee/multi-language-surveys/**",
|
||||
"modules/email/**",
|
||||
"modules/integrations/**",
|
||||
"modules/setup/**/intro/**",
|
||||
"modules/setup/**/signup/**",
|
||||
"modules/setup/**/layout.tsx",
|
||||
"modules/survey/follow-ups/**",
|
||||
"app/share/**",
|
||||
"lib/shortUrl/**",
|
||||
"modules/ee/contacts/[contactId]/**",
|
||||
"modules/ee/contacts/components/**",
|
||||
"modules/ee/two-factor-auth/**",
|
||||
"lib/posthogServer.ts",
|
||||
"lib/slack/**",
|
||||
"lib/notion/**",
|
||||
"lib/googleSheet/**",
|
||||
"app/api/google-sheet/**",
|
||||
"app/api/billing/**",
|
||||
"lib/airtable/**",
|
||||
"app/api/v1/integrations/**",
|
||||
"lib/env.ts",
|
||||
],
|
||||
},
|
||||
},
|
||||
plugins: [tsconfigPaths(), react() as PluginOption],
|
||||
});
|
||||
});
|
||||
@@ -21,5 +21,5 @@ sonar.scm.exclusions.disabled=false
|
||||
sonar.sourceEncoding=UTF-8
|
||||
|
||||
# Coverage
|
||||
sonar.coverage.exclusions=**/*.test.*,**/*.spec.*,**/*.mdx,**/*.config.mts,**/*.config.ts,**/constants.ts,**/route.ts,**/types/**,**/types.ts,**/stories.*,**/*.mock.*,**/mocks/**,**/__mocks__/**,**/openapi.ts,**/openapi-document.ts,**/instrumentation.ts,scripts/merge-client-endpoints.ts,**/playwright/**,**/Dockerfile,**/*.config.cjs,**/*.css,**/templates.ts,**/actions.ts,apps/web/modules/ui/components/icons/*,**/*.json,apps/web/vitestSetup.ts,apps/web/tailwind.config.js,apps/web/postcss.config.js,apps/web/next.config.mjs,apps/web/scripts/**,packages/js-core/vitest.setup.ts,**/*.mjs,apps/web/modules/auth/lib/mock-data.ts,apps/web/modules/analysis/components/SingleResponseCard/components/Smileys.tsx,packages/surveys/src/components/general/smileys.tsx,**/cache.ts
|
||||
sonar.cpd.exclusions=**/*.test.*,**/*.spec.*,**/*.mdx,**/*.config.mts,**/*.config.ts,**/constants.ts,**/route.ts,**/types/**,**/types.ts,**/stories.*,**/*.mock.*,**/mocks/**,**/__mocks__/**,**/openapi.ts,**/openapi-document.ts,**/instrumentation.ts,scripts/merge-client-endpoints.ts,**/playwright/**,**/Dockerfile,**/*.config.cjs,**/*.css,**/templates.ts,**/actions.ts,apps/web/modules/ui/components/icons/*,**/*.json,apps/web/vitestSetup.ts,apps/web/tailwind.config.js,apps/web/postcss.config.js,apps/web/next.config.mjs,apps/web/scripts/**,packages/js-core/vitest.setup.ts,**/*.mjs,apps/web/modules/auth/lib/mock-data.ts,apps/web/modules/analysis/components/SingleResponseCard/components/Smileys.tsx,packages/surveys/src/components/general/smileys.tsx,**/cache.ts
|
||||
sonar.coverage.exclusions=**/*.test.*,**/*.spec.*,**/*.mdx,**/*.config.mts,**/*.config.ts,**/constants.ts,**/route.ts,**/types/**,**/types.ts,**/stories.*,**/*.mock.*,**/mocks/**,**/__mocks__/**,**/openapi.ts,**/openapi-document.ts,**/instrumentation.ts,scripts/merge-client-endpoints.ts,**/playwright/**,**/Dockerfile,**/*.config.cjs,**/*.css,**/templates.ts,**/actions.ts,apps/web/modules/ui/components/icons/*,**/*.json,apps/web/vitestSetup.ts,apps/web/tailwind.config.js,apps/web/postcss.config.js,apps/web/next.config.mjs,apps/web/scripts/**,packages/js-core/vitest.setup.ts,**/*.mjs,apps/web/modules/auth/lib/mock-data.ts,apps/web/modules/analysis/components/SingleResponseCard/components/Smileys.tsx,packages/surveys/src/components/general/smileys.tsx,**/cache.ts,apps/web/app/**/billing-confirmation/**,apps/web/modules/ee/billing/**,apps/web/modules/ee/multi-language-surveys/**,apps/web/modules/email/**,apps/web/modules/integrations/**,apps/web/modules/setup/**/intro/**,apps/web/modules/setup/**/signup/**,apps/web/modules/setup/**/layout.tsx,apps/web/modules/survey/follow-ups/**,apps/web/app/share/**,apps/web/lib/shortUrl/**,apps/web/modules/ee/contacts/[contactId]/**,apps/web/modules/ee/contacts/components/**,apps/web/modules/ee/two-factor-auth/**,apps/web/lib/posthogServer.ts,apps/web/lib/slack/**,apps/web/lib/notion/**,apps/web/lib/googleSheet/**,apps/web/app/api/google-sheet/**,apps/web/app/api/billing/**,apps/web/lib/airtable/**,apps/web/app/api/v1/integrations/**,apps/web/lib/env.ts
|
||||
sonar.cpd.exclusions=**/*.test.*,**/*.spec.*,**/*.mdx,**/*.config.mts,**/*.config.ts,**/constants.ts,**/route.ts,**/types/**,**/types.ts,**/stories.*,**/*.mock.*,**/mocks/**,**/__mocks__/**,**/openapi.ts,**/openapi-document.ts,**/instrumentation.ts,scripts/merge-client-endpoints.ts,**/playwright/**,**/Dockerfile,**/*.config.cjs,**/*.css,**/templates.ts,**/actions.ts,apps/web/modules/ui/components/icons/*,**/*.json,apps/web/vitestSetup.ts,apps/web/tailwind.config.js,apps/web/postcss.config.js,apps/web/next.config.mjs,apps/web/scripts/**,packages/js-core/vitest.setup.ts,**/*.mjs,apps/web/modules/auth/lib/mock-data.ts,apps/web/modules/analysis/components/SingleResponseCard/components/Smileys.tsx,packages/surveys/src/components/general/smileys.tsx,**/cache.ts,apps/web/app/**/billing-confirmation/**,apps/web/modules/ee/billing/**,apps/web/modules/ee/multi-language-surveys/**,apps/web/modules/email/**,apps/web/modules/integrations/**,apps/web/modules/setup/**/intro/**,apps/web/modules/setup/**/signup/**,apps/web/modules/setup/**/layout.tsx,apps/web/modules/survey/follow-ups/**,apps/web/app/share/**,apps/web/lib/shortUrl/**,apps/web/modules/ee/contacts/[contactId]/**,apps/web/modules/ee/contacts/components/**,apps/web/modules/ee/two-factor-auth/**,apps/web/lib/posthogServer.ts,apps/web/lib/slack/**,apps/web/lib/notion/**,apps/web/lib/googleSheet/**,apps/web/app/api/google-sheet/**,apps/web/app/api/billing/**,apps/web/lib/airtable/**,apps/web/app/api/v1/integrations/**,apps/web/lib/env.ts
|
||||
Reference in New Issue
Block a user