semlint-cli 0.1.4 → 0.1.5

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.
Files changed (2) hide show
  1. package/dist/main.js +2 -0
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -70,6 +70,8 @@ function buildBatchPrompt(rules, diff) {
70
70
  "- Each diagnostic must reference a changed file from the DIFF.",
71
71
  "- rule_id must match one of the RULE_ID values listed below.",
72
72
  "- Keep messages concise and actionable.",
73
+ "- Deduplicate semantically equivalent findings before returning output.",
74
+ "- When duplicates exist, keep a single diagnostic from the rule that semantically matches the issue best, even if that selected diagnostic has lower severity.",
73
75
  "",
74
76
  "RULES:",
75
77
  ruleBlocks,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semlint-cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Semantic lint CLI — runs LLM-backed rules on your git diff and returns CI-friendly exit codes",
5
5
  "type": "commonjs",
6
6
  "main": "dist/main.js",