-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsonar-project.properties
More file actions
28 lines (22 loc) · 1.63 KB
/
sonar-project.properties
File metadata and controls
28 lines (22 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Project identification
sonar.projectKey=ai-code-fusion
sonar.projectName=Repository Code Fusion
sonar.projectVersion=0.1.0
# Source directories
sonar.sources=src
sonar.sourceEncoding=UTF-8
# Excluded directories and files (avoid noise from tests, fixtures, generated assets)
sonar.exclusions=node_modules/**,dist/**,coverage/**,tests/**,scripts/**,**/__tests__/**,**/*.test.js,**/*.test.jsx,**/*.test.ts,**/*.test.tsx,**/*.spec.js,**/*.spec.jsx,**/*.spec.ts,**/*.spec.tsx,src/renderer/styles/styles.css,vault-agent-env.hcl
# Test directories (kept for coverage mapping, excluded from issue noise)
sonar.tests=tests,src/__tests__
sonar.test.inclusions=tests/**/*.test.{js,jsx,ts,tsx},tests/**/*.spec.{js,jsx,ts,tsx},src/**/__tests__/**/*.{js,jsx,ts,tsx},src/**/*.test.{js,jsx,ts,tsx},src/**/*.spec.{js,jsx,ts,tsx}
# JavaScript configuration
sonar.javascript.lcov.reportPaths=coverage/lcov.info
# Duplicate-code checks should target production code; test scaffolding often repeats setup by design.
sonar.cpd.exclusions=tests/**,scripts/**,src/**/__tests__/**,**/*.test.js,**/*.test.jsx,**/*.test.ts,**/*.test.tsx,**/*.spec.js,**/*.spec.jsx,**/*.spec.ts,**/*.spec.tsx,**/*.stress.test.js,**/*.stress.test.jsx,**/*.stress.test.ts,**/*.stress.test.tsx
# Temporary rule suppression:
# Jest currently fails to resolve `node:` core-module imports in this repo's runtime/tooling setup.
# Keep stable `fs/path` imports and suppress only this stylistic Node import rule.
sonar.issue.ignore.multicriteria=nodeCoreImportStyle
sonar.issue.ignore.multicriteria.nodeCoreImportStyle.ruleKey=typescript:S7772
sonar.issue.ignore.multicriteria.nodeCoreImportStyle.resourceKey=src/**/*