@heyramzi/lint 2.0.0 → 2.1.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.
Files changed (37) hide show
  1. package/bin/heyramzi-comment-length.js +4 -3
  2. package/bin/heyramzi-file-tokens.js +2 -2
  3. package/bin/heyramzi-slop.js +3 -1
  4. package/config/oxlintrc.json +1 -1
  5. package/data/slop/artifacts.js +87 -0
  6. package/data/slop/pattern-parts.js +56 -0
  7. package/data/slop/patterns/appositives-and-sayings.js +81 -0
  8. package/data/slop/patterns/comma-clauses.js +106 -0
  9. package/data/slop/patterns/diagram-and-script-tells.js +71 -0
  10. package/data/slop/patterns/dropped-elements.js +149 -0
  11. package/data/slop/patterns/duration-and-openers.js +102 -0
  12. package/data/slop/patterns/headings-and-laws.js +116 -0
  13. package/data/slop/patterns/numbers-and-runs.js +94 -0
  14. package/data/slop/patterns/openers-and-tails.js +90 -0
  15. package/data/slop/patterns/parallel-shapes.js +100 -0
  16. package/data/slop/patterns/reveals-and-tallies.js +101 -0
  17. package/data/slop/patterns/setups-and-closers.js +83 -0
  18. package/data/slop/patterns/subject-voice.js +67 -0
  19. package/data/slop/patterns/vague-and-flourish.js +102 -0
  20. package/data/slop/patterns/wikipedia-signs.js +103 -0
  21. package/data/slop/patterns.js +62 -0
  22. package/data/slop/phrases-en-closers.js +66 -0
  23. package/data/slop/phrases-en-core.js +185 -0
  24. package/data/slop/phrases-en-wikipedia.js +136 -0
  25. package/data/slop/phrases-fr.js +152 -0
  26. package/data/slop/shapes-density.js +81 -0
  27. package/data/slop/shapes-framing.js +101 -0
  28. package/data/slop/shapes-reveals.js +88 -0
  29. package/data/slop/title-tells.js +8 -0
  30. package/data/slop/words-en.js +178 -0
  31. package/data/slop/words-fr.js +101 -0
  32. package/data/slop-words.js +18 -2576
  33. package/data/vendor/heading-words.js +6 -0
  34. package/inline-path.js +2 -0
  35. package/package.json +1 -1
  36. package/slop.js +4 -2
  37. package/ui-rules.js +4 -2
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Words a model puts in a section heading, matched against what people type. The old-names gate skips vendor folders.
3
+ */
4
+
5
+ /** The heading word for what a subject leaves behind. */
6
+ export const HERITAGE_HEADING_WORD = "legacy";
package/inline-path.js CHANGED
@@ -16,6 +16,8 @@ export const DEFAULT_IGNORED = [
16
16
  "out",
17
17
  "coverage",
18
18
  "vendor",
19
+ // What a client sent us, kept as it came: company/clients/<slug>/inputs/.
20
+ "inputs",
19
21
  ".upstream",
20
22
  "generated",
21
23
  "_generated",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyramzi/lint",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Shared oxlint rules, base config and gates for Studio projects",
5
5
  "license": "MIT",
6
6
  "repository": {
package/slop.js CHANGED
@@ -35,7 +35,7 @@
35
35
  */
36
36
 
37
37
  /*
38
- * Both lists are imported, never restated: `data/invisibles.js` and `data/slop-words.js` are the one home for each.
38
+ * Both lists are imported, never restated: `data/invisibles.js` and `data/slop/` are the one home for each.
39
39
  */
40
40
 
41
41
  import {
@@ -46,7 +46,9 @@ import {
46
46
  invisibleKind,
47
47
  isInvisible,
48
48
  } from "#lint/data/invisibles.js";
49
- import { artifacts, patterns, phrases, words } from "#lint/data/slop-words.js";
49
+ import { phrases, words } from "#lint/data/slop-words.js";
50
+ import { artifacts } from "#lint/data/slop/artifacts.js";
51
+ import { patterns } from "#lint/data/slop/patterns.js";
50
52
  import { auditRegister } from "#lint/register.js";
51
53
  import {
52
54
  FAQ_TITLE,
package/ui-rules.js CHANGED
@@ -15,6 +15,8 @@ export const DEFAULT_IGNORED = [
15
15
  "out",
16
16
  "coverage",
17
17
  "vendor",
18
+ // What a client sent us, kept as it came: company/clients/<slug>/inputs/.
19
+ "inputs",
18
20
  ".upstream",
19
21
  "generated",
20
22
  "_generated",
@@ -37,7 +39,7 @@ export const DEFAULT_IGNORED = [
37
39
  const T_FAMILIES =
38
40
  "avatar|check|clear|digit|dropdown|enter|error|exit|fade|fly|follow|glare|hold|input|learn|lift|like|mask|modal|morph|page|pop|press|reel|resize|return|scrollbar|shake|shimmer|stagger|success|swap|text|think|tilt|acc|tabs|toast|tooltip|number|badge|panel|toggle|banner|matrix|stream|reason|skeleton|accordion";
39
41
 
40
- const TOKEN_NAMES = "stagger|micro|quick|fast|medium|slow|very-slow";
42
+ const TOKEN_NAMES = "stagger|micro|quick|fast|medium|slow|overlay|loop";
41
43
 
42
44
  const MESSAGES = {
43
45
  "transition-all":
@@ -47,7 +49,7 @@ const MESSAGES = {
47
49
  "ease-in":
48
50
  "Use `var(--ease-smooth-out)` (or `ease-out`). `ease-in` starts slow, delaying the exact moment the user is watching. `ease-in-out` is fine for on-screen movement.",
49
51
  "duration-literal":
50
- "Write `duration-[var(--duration-fast)]` and `delay-[var(--duration-micro)]`, never a literal. Tokens: stagger, micro, quick, fast, medium, slow, very-slow.",
52
+ "Write `duration-[var(--duration-fast)]` and `delay-[var(--duration-micro)]`, never a literal. Tokens: stagger, micro, quick, fast, medium, slow, overlay, loop.",
51
53
  "duration-bare":
52
54
  "Write `duration-[var(--duration-fast)]`, never `duration-fast`. Tailwind's `duration-*` resolves against `--transition-duration-*`, so a bare token class generates nothing and sits at 0s.",
53
55
  "acc-panel-padding":