@sun-asterisk/sunlint 1.3.19 → 1.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,7 @@ function createCliProgram() {
37
37
  .option('--output-summary <file>', 'Output summary report file path (JSON format for CI/CD)')
38
38
  .option('--upload-report [url]', 'Upload summary report to API endpoint after analysis (default: Sun* Coding Standards API)')
39
39
  .option('--config <file>', 'Configuration file path (default: auto-discover)')
40
- .option('--github-annotate', 'Annotate GitHub PR with results (requires --output and --format=json)');
40
+ .option('--github-annotate [mode]', 'Annotate GitHub PR: annotate (inline), summary (comment), all (both) - default: all');
41
41
 
42
42
  // File targeting options
43
43
  program
@@ -135,6 +135,13 @@ CI/CD Integration:
135
135
  $ sunlint --all --output-summary=report.json --upload-report
136
136
  $ sunlint --all --output-summary=report.json --upload-report=https://custom-api.com/reports
137
137
 
138
+ GitHub Actions Integration:
139
+ $ sunlint --all --input=src --github-annotate # Both inline + summary (default)
140
+ $ sunlint --all --input=src --github-annotate=annotate # Inline comments only
141
+ $ sunlint --all --input=src --github-annotate=summary # Summary comment only
142
+ $ sunlint --all --input=src --github-annotate=all # Both inline + summary
143
+ $ sunlint --all --changed-files --github-annotate # With changed files
144
+
138
145
  ESLint Integration:
139
146
  $ sunlint --typescript --eslint-integration --input=src
140
147
  $ sunlint --all --eslint-integration --eslint-merge-rules --input=src