You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: complete SonarLint integration with final fixes
- Fix test command in CI workflow to prevent hanging (--run flag)
- Update workflow to use correct develop branch instead of main
- Add comprehensive GitHub secrets setup documentation
- Verify coverage integration with vitest configurations
- Complete documentation with troubleshooting and best practices
All SonarLint roadmap phases now fully implemented:
✅ VSCode extension setup and configuration
✅ Custom rules and quality gates
✅ CI/CD integration with SonarCloud
✅ Complete team onboarding documentation
Copy file name to clipboardExpand all lines: docs/dev/quality/sonarlint.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,6 +245,34 @@ SonarCloud enforces:
245
245
246
246
---
247
247
248
+
## Setting Up GitHub Secrets (Repository Admin Only)
249
+
250
+
For the SonarCloud CI/CD integration to work, repository administrators must set up the following GitHub secret:
251
+
252
+
### Required Secret: `SONAR_TOKEN`
253
+
254
+
1.**Generate SonarCloud Token:**
255
+
- Go to [SonarCloud Security](https://sonarcloud.io/account/security)
256
+
- Generate a new token with a descriptive name (e.g., "GitHub Actions CI")
257
+
-**Important:** This should be a different token from personal SonarLint tokens
258
+
- Copy the token (it will only be shown once)
259
+
260
+
2.**Add Secret to GitHub Repository:**
261
+
- Navigate to: `Settings` → `Secrets and variables` → `Actions`
262
+
- Click `New repository secret`
263
+
- Name: `SONAR_TOKEN`
264
+
- Value: Paste the SonarCloud token
265
+
- Click `Add secret`
266
+
267
+
3.**Verify Setup:**
268
+
- The workflow uses `${{ secrets.SONAR_TOKEN }}` automatically
269
+
- No code changes needed once the secret is configured
270
+
- Test by creating a pull request
271
+
272
+
**Security Note:** Never commit SonarCloud tokens to the repository. The provided API key in the task description should be used to set up this GitHub secret, not placed in any code files.
0 commit comments