@heyramzi/lint 2.15.0 → 2.16.0

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,6 +37,8 @@ export const patternsCommaClauses = [
37
37
  // House style, not a tell: 6 of 70 human bench posts carry it, so it's Ramzi's call (16 Nov 2026), not evidence.
38
38
  // A list's last item ("a, b, and c") has no pronoun subject after the and, so it passes.
39
39
  test: /,\s+and\s+(?:it|it's|it’s|that|that's|that’s|this|they|he|she|we|I|you|there)\s+[\w'’]/,
40
+ // voice-stop.mjs holds the session's replies to it too.
41
+ replies: true,
40
42
  name: "Comma-and clause",
41
43
  rule: 'A finished clause, then a comma, "and" and a pronoun starting a second clause. It chains two sentences into one breath, and the second half lands as an afterthought. Ramzi, 16 Nov 2026, on "I typed wire --help expecting help text, and it ran the real wire command": "this sentence is ai slop". Split it into 2 sentences.',
42
44
  example:
@@ -76,10 +76,8 @@ export const patternsSubjectVoice = [
76
76
  {
77
77
  id: "passive-voice",
78
78
  name: "Every scenario is named by its trigger",
79
- // His rule, not a bot tell: 55 of 267 human replies on the Reddit bench use one, against 7 of our 72 bad ones (9 Nov 2026).
80
- // A state word passes unless "by" names who did it: "Hive is not connected", "what's broken", "when we're done" (15 of upsys's 78, 10 Nov 2026).
81
- // So does "you're" or "we're": the person is the subject, nobody's hidden ("what you're paid for", a human r/ClaudeCode comment, 15 Nov 2026).
82
- test: /\b(?:is|are|was|were|be|been|being|['’]s|['’]re)\s+(?:not\s+|never\s+|already\s+|also\s+|still\s+|just\s+|then\s+|\w+ly\s+)?(?!(?:interested|based|related|supposed|used\s+to|tired|bored|excited|worried|scared|married|located|involved|impressed|devastated|surprised|confused|annoyed|pleased|stuck|qualified|indeed|need|feed|seed|speed|breed|greed|weed)\b|(?:closed|locked|unlocked|connected|disconnected|archived|enabled|disabled|un[a-z]{2,}ed)\b(?!\s+by\b)|broken\b(?!\s+(?:by|into|down|up|out|off)\b)|caught\s+up\b|done\b(?=\s*(?:[.!?,;:)]|$)))(?:[a-z]{3,}ed|built|made|done|given|taken|known|seen|written|shown|sent|kept|put|found|held|told|paid|brought|bought|caught|taught|chosen|driven|forgotten|hidden|broken|spoken|stolen|frozen|drawn|grown|thrown|worn|torn)\b(?:(?<!\b(?:you|we)['’]re\s+(?:\w+\s+)?\w+)|(?=\s+by\b))/i,
79
+ // Ramzi's rule, not a bot tell. What passes and why (states, "you're paid", "what's worked", "made-up"): TECHLOG.md, "Passive voice reads grammar".
80
+ test: /\b(?:is|are|was|were|be|been|being|['’]s|['’]re)\s+(?:not\s+|never\s+|already\s+|also\s+|still\s+|just\s+|then\s+|\w+ly\s+)?(?!(?:interested|based|related|supposed|used\s+to|tired|bored|bloated|excited|worried|scared|married|located|involved|impressed|devastated|surprised|confused|annoyed|pleased|stuck|qualified|indeed|need|feed|seed|speed|breed|greed|weed)\b|(?:closed|locked|unlocked|connected|disconnected|archived|enabled|disabled|un[a-z]{2,}ed)\b(?!\s+by\b)|broken\b(?!\s+(?:by|into|down|up|out|off)\b)|caught\s+up\b|made\s+up\s+of\b|done\b(?=\s*(?:[.!?,;:)]|$)))(?:[a-z]{3,}ed|built|made|done|given|taken|known|seen|written|shown|sent|kept|put|found|held|told|paid|brought|bought|caught|taught|chosen|driven|forgotten|hidden|broken|spoken|stolen|frozen|drawn|grown|thrown|worn|torn)\b(?!-)(?<!['’]s\s+(?:\w+\s+)?(?:worked|changed|happened|improved|grown|started|stopped|moved|shifted|increased|decreased|dropped|evolved|helped|failed|succeeded|slowed))(?:(?<!\b(?:you|we)(?:['’]re|\s+are)\s+(?:\w+\s+)?\w+)|(?=\s+by\b))/i,
83
81
  rule: 'A passive: "is named", "was built", "are treated". Nobody does anything in it, so it reads as a report, not a person talking. Name who does it: "we name every scenario by its trigger". Ramzi, 9 Nov 2026, on a Reddit draft: "anything passive tense basically is bad, bad, bad".',
84
82
  example:
85
83
  '"Every scenario we build is named by its trigger" / "anything that comes through chat is treated as an emergency" / "the report was sent on Monday"',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyramzi/lint",
3
- "version": "2.15.0",
3
+ "version": "2.16.0",
4
4
  "description": "Shared oxlint rules, base config and gates for Studio projects",
5
5
  "license": "MIT",
6
6
  "repository": {