mirror of
https://github.com/firstsun-dev/git-files-sync.git
synced 2026-07-22 06:54:27 +00:00
This commit consolidates several improvements to satisfy SonarCloud Quality Gate and enhance the overall plugin stability: - Code Quality & Refactoring: - Reduced duplication to 0% by refactoring SyncManager and SyncStatusView. - Implemented centralized 'processBatch' logic for multi-file sync operations. - Fixed security hotspots by replacing legacy atob/btoa with Buffer. - Added memory safety limits to the diff algorithm to prevent DoS. - Test Coverage & Reliability: - Improved SyncManager coverage to 81.8% and GitignoreManager to 92.8%. - Added comprehensive unit tests for batch operations and complex .gitignore patterns. - Resolved all ESLint 'unsafe-member-access' and 'unbound-method' warnings in tests. - Infrastructure & Metadata: - Consolidated GitHub Actions into a single optimized 'ci.yml' using latest versions (v6-v8). - Synchronized manifest.json and versions.json to v1.1.0. - Fixed workflow permission issues identified by CodeQL.
21 lines
637 B
Properties
21 lines
637 B
Properties
sonar.projectKey=firstsun-dev_git-files-sync
|
|
sonar.organization=firstsun-dev
|
|
|
|
# This is the name and version displayed in the SonarCloud UI.
|
|
sonar.projectName=git-files-sync
|
|
sonar.projectVersion=1.1.0
|
|
|
|
# Path is relative to the sonar-project.properties file.
|
|
sonar.sources=src
|
|
sonar.tests=tests
|
|
sonar.test.inclusions=tests/**/*.test.ts
|
|
|
|
# Encoding of the source code.
|
|
sonar.sourceEncoding=UTF-8
|
|
|
|
# Coverage reporting
|
|
sonar.javascript.lcov.reportPaths=coverage/lcov.info
|
|
|
|
# Exclusions
|
|
sonar.exclusions=main.js, styles.css, node_modules/**, .claude/**, dist/**, *.config.*
|
|
sonar.coverage.exclusions=src/ui/**, src/main.ts, src/settings.ts
|