@nodeve/checks 2.1.0 → 3.0.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 (97) hide show
  1. package/.vale.ini +22 -23
  2. package/README.md +29 -79
  3. package/dist/bin/prose.d.ts +3 -0
  4. package/dist/bin/prose.d.ts.map +1 -0
  5. package/dist/bin/prose.js +27 -0
  6. package/dist/bin/prose.js.map +1 -0
  7. package/dist/checks/catalog.d.ts.map +1 -1
  8. package/dist/checks/catalog.js +0 -2
  9. package/dist/checks/catalog.js.map +1 -1
  10. package/dist/checks/clones.d.ts.map +1 -1
  11. package/dist/checks/clones.js +1 -2
  12. package/dist/checks/clones.js.map +1 -1
  13. package/dist/checks/doc-tokens.d.ts +4 -3
  14. package/dist/checks/doc-tokens.d.ts.map +1 -1
  15. package/dist/checks/doc-tokens.js +12 -9
  16. package/dist/checks/doc-tokens.js.map +1 -1
  17. package/dist/checks/file-size.d.ts.map +1 -1
  18. package/dist/checks/file-size.js +2 -3
  19. package/dist/checks/file-size.js.map +1 -1
  20. package/dist/checks/helper-collisions.js +4 -4
  21. package/dist/checks/helper-collisions.js.map +1 -1
  22. package/dist/checks/inline-dupes.d.ts.map +1 -1
  23. package/dist/checks/inline-dupes.js +30 -17
  24. package/dist/checks/inline-dupes.js.map +1 -1
  25. package/dist/checks/page-size.js +1 -1
  26. package/dist/checks/page-size.js.map +1 -1
  27. package/dist/checks/plural-arrays.d.ts.map +1 -1
  28. package/dist/checks/plural-arrays.js +29 -24
  29. package/dist/checks/plural-arrays.js.map +1 -1
  30. package/dist/checks/require-deps.d.ts.map +1 -1
  31. package/dist/checks/require-deps.js +1 -3
  32. package/dist/checks/require-deps.js.map +1 -1
  33. package/dist/checks/reshape.js +3 -3
  34. package/dist/checks/reshape.js.map +1 -1
  35. package/dist/lib/config.d.ts +4 -0
  36. package/dist/lib/config.d.ts.map +1 -1
  37. package/dist/lib/config.js.map +1 -1
  38. package/dist/lib/defaults.d.ts +10 -1
  39. package/dist/lib/defaults.d.ts.map +1 -1
  40. package/dist/lib/defaults.js +44 -7
  41. package/dist/lib/defaults.js.map +1 -1
  42. package/dist/lib/length.d.ts.map +1 -1
  43. package/dist/lib/length.js +10 -2
  44. package/dist/lib/length.js.map +1 -1
  45. package/dist/lib/repo.d.ts +5 -0
  46. package/dist/lib/repo.d.ts.map +1 -1
  47. package/dist/lib/repo.js +9 -2
  48. package/dist/lib/repo.js.map +1 -1
  49. package/lefthook.checks.yml +63 -13
  50. package/nodeve.checks.defaults.js +44 -7
  51. package/package.json +6 -3
  52. package/styles/nodeve/Filler.yml +26 -0
  53. package/styles/nodeve/SentenceLength.yml +18 -2
  54. package/styles/proselint/Airlinese.yml +8 -0
  55. package/styles/proselint/AnimalLabels.yml +48 -0
  56. package/styles/proselint/Annotations.yml +9 -0
  57. package/styles/proselint/Apologizing.yml +8 -0
  58. package/styles/proselint/Archaisms.yml +52 -0
  59. package/styles/proselint/But.yml +8 -0
  60. package/styles/proselint/Cliches.yml +782 -0
  61. package/styles/proselint/CorporateSpeak.yml +30 -0
  62. package/styles/proselint/Currency.yml +5 -0
  63. package/styles/proselint/Cursing.yml +15 -0
  64. package/styles/proselint/DateCase.yml +7 -0
  65. package/styles/proselint/DateMidnight.yml +7 -0
  66. package/styles/proselint/DateRedundancy.yml +10 -0
  67. package/styles/proselint/DateSpacing.yml +7 -0
  68. package/styles/proselint/DenizenLabels.yml +52 -0
  69. package/styles/proselint/Diacritical.yml +95 -0
  70. package/styles/proselint/GenderBias.yml +45 -0
  71. package/styles/proselint/GroupTerms.yml +39 -0
  72. package/styles/proselint/Hedging.yml +8 -0
  73. package/styles/proselint/Hyperbole.yml +6 -0
  74. package/styles/proselint/Jargon.yml +11 -0
  75. package/styles/proselint/LGBTOffensive.yml +13 -0
  76. package/styles/proselint/LGBTTerms.yml +15 -0
  77. package/styles/proselint/Malapropisms.yml +8 -0
  78. package/styles/proselint/Needless.yml +358 -0
  79. package/styles/proselint/Nonwords.yml +38 -0
  80. package/styles/proselint/Oxymorons.yml +22 -0
  81. package/styles/proselint/P-Value.yml +6 -0
  82. package/styles/proselint/RASSyndrome.yml +30 -0
  83. package/styles/proselint/Skunked.yml +13 -0
  84. package/styles/proselint/Spelling.yml +17 -0
  85. package/styles/proselint/Typography.yml +11 -0
  86. package/styles/proselint/Uncomparables.yml +50 -0
  87. package/styles/proselint/Very.yml +6 -0
  88. package/styles/proselint/meta.json +15 -0
  89. package/styles/write-good/Cliches.yml +702 -0
  90. package/styles/write-good/E-Prime.yml +32 -0
  91. package/styles/write-good/Illusions.yml +11 -0
  92. package/styles/write-good/Passive.yml +183 -0
  93. package/styles/write-good/So.yml +5 -0
  94. package/styles/write-good/ThereIs.yml +6 -0
  95. package/styles/write-good/TooWordy.yml +221 -0
  96. package/styles/write-good/Weasel.yml +29 -0
  97. package/styles/write-good/meta.json +4 -0
@@ -30,6 +30,10 @@
30
30
  # `node_modules/.bin/nodeve-check doc-tokens --report`, or the whole suite at once
31
31
  # with `nodeve-check` (summary-first). The per-check `nodeve-check-<name>` bins
32
32
  # remain for direct invocation.
33
+ #
34
+ # Quiet-on-success (only failures print) is a top-level `output:` list. lefthook
35
+ # does NOT merge that key through `extends` (it reads it only from the repo's own
36
+ # lefthook.yml), so it can't ship here — each consumer sets it in its lefthook.yml.
33
37
  pre-commit:
34
38
  jobs:
35
39
  # Fixer, runs before the `checks` group so the gates see formatted, re-staged
@@ -44,11 +48,24 @@ pre-commit:
44
48
  # judged code formatting at all. It must only name types prettier has a parser
45
49
  # for — prettier errors on a path it can't infer one for. Repos exclude paths
46
50
  # via `.prettierignore` (machine output, vendored code), not by narrowing this.
51
+ # Markdown is not prettier's: md-fmt below owns it, the same formatter every
52
+ # org repo and editor runs.
47
53
  - name: format
48
- glob: '*.{md,ts,tsx,js,jsx,mjs,cjs,mts,cts,svelte,json,jsonc,css,html,yml,yaml}'
54
+ glob: '*.{ts,tsx,js,jsx,mjs,cjs,mts,cts,svelte,json,jsonc,css,html,yml,yaml}'
49
55
  run: node_modules/.bin/nodeve-format {staged_files}
50
56
  stage_fixed: true
51
57
 
58
+ # Markdown fixer: rumdl's safe fixes, then dprint's layout, re-staged. A native
59
+ # binary from nodeve's flake (packages.md-tools, in the devShell), not a node
60
+ # dep, so JS and non-JS repos format docs identically. UNGUARDED like vale —
61
+ # absent from PATH, the commit fails.
62
+ - name: md-fmt
63
+ glob: '*.md'
64
+ run: |
65
+ command -v md-fmt >/dev/null || { echo "✖ md-fmt is not installed — it ships in the nix devShell ('nix develop') as nodeve's packages.md-tools."; exit 1; }
66
+ md-fmt {staged_files}
67
+ stage_fixed: true
68
+
52
69
  - name: checks
53
70
  group:
54
71
  parallel: true
@@ -57,21 +74,25 @@ pre-commit:
57
74
  glob: '*.md'
58
75
  run: node_modules/.bin/nodeve-check doc-tokens {staged_files}
59
76
 
77
+ # Markdown lint (rumdl via md-lint): broken relative links and anchors,
78
+ # heading structure. Layout is md-fmt's, already applied above.
79
+ - name: md-lint
80
+ glob: '*.md'
81
+ run: md-lint {staged_files}
82
+
60
83
  # Prose gate — the OTHER engine. Not a `nodeve-check` bin: it's the `vale`
61
- # binary (from the repo's nix devShell, NOT node_modules) reading the
62
- # repo's `.vale.ini`, which pulls the org house rules from
63
- # `node_modules/@nodeve/checks` via `Packages` + `vale sync`. Guarded so
64
- # the shared config is safe in a repo that hasn't opted into prose yet:
65
- # runs only when `vale` is on PATH AND a `.vale.ini` exists, else skips.
66
- # When it runs, vale exits nonzero on `error`-level alerts and blocks;
67
- # warning/suggestion are advisory. Opt in: add a `.vale.ini` (copy the
68
- # block in @nodeve/checks/.vale.ini) and run `vale sync` once per clone.
84
+ # binary reading the org house rules straight from the package's OWN
85
+ # config (`--config=node_modules/@nodeve/checks/.vale.ini`), whose styles
86
+ # are vendored beside it. ALWAYS ON: extending this file turns it on, no
87
+ # per-repo `.vale.ini`, no `vale sync`, no opt-in to forget. UNGUARDED —
88
+ # if `vale` isn't on PATH the commit FAILS (install it: it's in the nix
89
+ # devShell). vale exits nonzero on `error` alerts; warning/suggestion are
90
+ # advisory.
69
91
  - name: vale
70
92
  glob: '*.md'
71
93
  run: |
72
- if command -v vale >/dev/null 2>&1 && test -f .vale.ini; then
73
- vale {staged_files} || { echo "↑ You touched these docs, so you own their prose errors — clear ALL of them (not just your edit). Tune severity in .vale.ini if a rule is wrong."; exit 1; }
74
- fi
94
+ command -v vale >/dev/null 2>&1 || { echo "✖ vale is not installed — the org prose gate is mandatory. Install vale (it ships in the nix devShell: 'nix develop')."; exit 1; }
95
+ vale --config=node_modules/@nodeve/checks/.vale.ini {staged_files} || { echo "↑ You touched these docs, so you own their prose errors — clear ALL of them (not just your edit)."; echo " Re-run on one file for jump-to-line detail: pnpm exec nodeve-prose <file.md>"; exit 1; }
75
96
 
76
97
  - name: reshape
77
98
  glob: '*.ts'
@@ -85,7 +106,7 @@ pre-commit:
85
106
  run: node_modules/.bin/nodeve-check page-size {staged_files}
86
107
 
87
108
  - name: file-size
88
- glob: '*.ts'
109
+ glob: '*.{ts,yaml}'
89
110
  run: node_modules/.bin/nodeve-check file-size {staged_files}
90
111
 
91
112
  # Whole-tree property — every manifest's deps must single-source from a
@@ -139,6 +160,35 @@ pre-commit:
139
160
  glob: '*.{ts,tsx,js,jsx,mjs,cjs,svelte}'
140
161
  run: node_modules/.bin/eslint {staged_files}
141
162
 
163
+ # Per-package gate — a commit can't land a package whose own `check` fails.
164
+ # `check` is the STATIC-verification cluster (types, schema validation,
165
+ # authoring/semantic gates) — NOT tests or build; those are the separate
166
+ # `test`/`build` verbs, run in CI. Contract + rationale:
167
+ # docs/package-scripts.md. A package OPTS OUT by defining no `check` script
168
+ # (both PMs skip a missing script).
169
+ #
170
+ # Scoped to the packages the commit touches: each staged path's nearest
171
+ # package.json below the root. A typecheck needs the whole package program, so
172
+ # a touched package runs its full `check`; an untouched one never blocks.
173
+ # Dependents of a touched package are not re-checked; `pnpm -r check` covers
174
+ # the whole tree.
175
+ #
176
+ # PM-agnostic by lockfile: org repos run on pnpm OR bun and both inherit this
177
+ # from the single `extends` line. Both take path `--filter`s.
178
+ - name: package-check
179
+ run: |
180
+ filters=$(for f in {staged_files}; do
181
+ d=$(dirname "$f")
182
+ while [ "$d" != . ] && [ ! -f "$d/package.json" ]; do d=$(dirname "$d"); done
183
+ [ "$d" = . ] || printf -- '--filter=./%s\n' "$d"
184
+ done | sort -u)
185
+ [ -n "$filters" ] || exit 0
186
+ if [ -f bun.lock ] || [ -f bun.lockb ]; then
187
+ bun run $filters check
188
+ else
189
+ pnpm -r --if-present $filters check
190
+ fi
191
+
142
192
  # The commit-msg hook fires after pre-commit, once a message exists. lefthook
143
193
  # passes the message file path as `{1}`. The gate gives it Conventional-Commits
144
194
  # structure and requires a body once the staged diff grows past the configured
@@ -13,20 +13,51 @@
13
13
  * restate every entry you want to keep, not just the ones you're adding.
14
14
  */
15
15
  export default {
16
- // Guarded markdown (CLAUDE.md + READMEs + guide/ + docs/) bounded on both lines
17
- // and tokens. No default `warn` tier — add one per repo to nudge before the
18
- // hard fail. Per-path bumps go in `overrides` (glob → tiers).
16
+ // EVERY tracked markdown file, bounded on both lines and tokens — same scope as
17
+ // the prose gate, so staging a doc means it conforms, whatever it's called or
18
+ // where it sits. A named-doc list was a hole: an unlisted name (AGENTS.md, a
19
+ // nested docs/ tree) grew unbudgeted, and the budget it dodged was invisible.
20
+ // `*.md` is a git pathspec, so it spans the whole tree. No default `warn` tier
21
+ // — add one per repo to nudge before the hard fail. Per-path bumps go in
22
+ // `overrides` (glob → tiers).
23
+ //
24
+ // An INDEX doc (README/CLAUDE/AGENTS) gets HALF the token budget: it's the
25
+ // entry point, read or auto-loaded before anything else, so its cost is paid on
26
+ // every visit while a detail page is paid only when opened. 1500 is the tier
27
+ // that keeps one; past it, move each section to the page that owns it and leave
28
+ // one line per link — the split only pays when what's split is an index.
29
+ //
30
+ // CHANGELOGs are ignored: changesets writes them and they grow forever, so the
31
+ // budget could never be met by cutting. Machine-written docs belong in `ignore`
32
+ // (the `.prettierignore` rule, applied to budgets).
19
33
  docTokens: {
20
- globs: ['CLAUDE.md', 'README.md', '*/README.md', 'guide/*.md', 'docs/*.md'],
34
+ globs: ['*.md'],
35
+ ignore: ['**/CHANGELOG.md', 'CHANGELOG.md'],
21
36
  fail: { maxLines: 150, maxTokens: 3000 },
22
- overrides: [],
37
+ overrides: [
38
+ { glob: '*README.md', tiers: { fail: { maxTokens: 1500 } } },
39
+ { glob: '*CLAUDE.md', tiers: { fail: { maxTokens: 1500 } } },
40
+ { glob: '*AGENTS.md', tiers: { fail: { maxTokens: 1500 } } },
41
+ ],
23
42
  },
24
43
  // On by default: Conventional Commits header + a body for non-trivial changes.
25
44
  // Runs on the commit-msg hook. `bodyRequiredOverLines` measures the STAGED diff
26
45
  // (insertions + deletions), so a commit only owes a "why" once it's sizeable.
27
46
  commitMsg: {
28
47
  enforce: true,
29
- types: ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert'],
48
+ types: [
49
+ 'feat',
50
+ 'fix',
51
+ 'docs',
52
+ 'style',
53
+ 'refactor',
54
+ 'perf',
55
+ 'test',
56
+ 'build',
57
+ 'ci',
58
+ 'chore',
59
+ 'revert',
60
+ ],
30
61
  requireScope: false,
31
62
  maxSubjectLength: 72,
32
63
  bodyRequiredOverLines: 50,
@@ -49,6 +80,9 @@ export default {
49
80
  inlineDupes: {
50
81
  globs: ['apps/*.ts', 'packages/*.ts'],
51
82
  allowlist: [],
83
+ // Off by default: an app repo legitimately repeats exported route handlers per route.
84
+ // A library-only repo (no route files) sets this true to catch exported dupes too.
85
+ includeExported: false,
52
86
  },
53
87
  helperCollisions: {
54
88
  globs: ['apps/*.ts', 'packages/*.ts'],
@@ -90,7 +124,10 @@ export default {
90
124
  // pages over 280 lines should rip inline components out into their own files.
91
125
  // The `*+page.svelte` glob is a no-op in repos with no SvelteKit pages, so this
92
126
  // stays harmless org-wide. Override per repo.
93
- pageSize: { globs: [], overrides: [{ glob: '*+page.svelte', tiers: { fail: { maxLines: 280 } } }] },
127
+ pageSize: {
128
+ globs: [],
129
+ overrides: [{ glob: '*+page.svelte', tiers: { fail: { maxLines: 280 } } }],
130
+ },
94
131
  // On by default: warn past 225 lines, block past 300. Give a long-but-cohesive
95
132
  // file a bigger budget (or `tiers: 'exempt'`) via `overrides`, per repo.
96
133
  fileSize: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodeve/checks",
3
- "version": "2.1.0",
3
+ "version": "3.0.0",
4
4
  "description": "Org-wide commit-gate checks (doc budgets, reshape/dup/helper smells, page size) and helper-index generators, driven by a per-repo config file and wired through lefthook.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,6 +33,7 @@
33
33
  },
34
34
  "bin": {
35
35
  "nodeve-check": "./dist/bin/check.js",
36
+ "nodeve-prose": "./dist/bin/prose.js",
36
37
  "nodeve-check-doc-tokens": "./dist/bin/doc-tokens.js",
37
38
  "nodeve-check-commit-msg": "./dist/bin/commit-msg.js",
38
39
  "nodeve-check-reshape": "./dist/bin/reshape.js",
@@ -58,8 +59,8 @@
58
59
  "remeda": "^2.0.0",
59
60
  "ts-morph": "^28.0.0",
60
61
  "typescript": "^6.0.3",
61
- "yaml": "^2.5.0",
62
- "@nodeve/text": "2.1.0"
62
+ "yaml": "^2.9.0",
63
+ "@nodeve/text": "2.2.0"
63
64
  },
64
65
  "devDependencies": {
65
66
  "@types/node": "^24.0.0",
@@ -69,6 +70,8 @@
69
70
  "scripts": {
70
71
  "build": "tsc -p tsconfig.json && cp dist/lib/defaults.js nodeve.checks.defaults.js",
71
72
  "clean": "rm -rf dist",
73
+ "sync-styles": "node bin/sync-styles.mjs",
74
+ "check": "pnpm typecheck",
72
75
  "typecheck": "tsc -p tsconfig.json --noEmit"
73
76
  }
74
77
  }
@@ -0,0 +1,26 @@
1
+ # Flag low-value filler that survives write-good/proselint — phrases that add words
2
+ # without adding meaning. The house test: cut the phrase, does meaning survive? If
3
+ # yes it's fat. These fire where the wordier gates stay silent. Anchored so real
4
+ # uses ("in order theory", "make sure the flag is set" as an assertion) don't fire.
5
+ extends: existence
6
+ message: "'%s' is filler — cut it or state the fact plainly."
7
+ ignorecase: true
8
+ level: error
9
+ nonword: true
10
+ tokens:
11
+ # "in order to" → "to"; "so as to" → "to".
12
+ - '\bin order to\b'
13
+ - '\bso as to\b'
14
+ # Meta-throat-clearing before the actual statement.
15
+ - '\bnote that\b'
16
+ - '\bit(''s| is) worth noting that\b'
17
+ - '\bkeep in mind that\b'
18
+ - '\bplease note\b'
19
+ # Instruction narration — narrate the act instead of stating the value.
20
+ # "make sure to X" → "X"; "be sure to X" → "X".
21
+ - '\b(make|be) sure (to|that)\b'
22
+ - '\bmake sure you\b'
23
+ # Empty intensifiers past write-good.Weasel's set.
24
+ - '\bat the end of the day\b'
25
+ - '\bfor what it(''s| is) worth\b'
26
+ - '\bneedless to say\b'
@@ -1,10 +1,26 @@
1
1
  # Flag over-long sentences — a telegraphic style keeps them short. Fires when a
2
2
  # sentence exceeds `max` words. RAISE `max` if this is too aggressive on design
3
3
  # prose, or lower it to tighten. Set level to suggestion to make it advisory.
4
+ #
5
+ # `token` counts WORDS, so a figure has to count as one. A bare `\b(\w+)\b` reads
6
+ # `$14,903.16` as three (`14`, `903`, `16`) and `2.2.0` as three more, so prose
7
+ # carrying money, versions or measurements trips the cap while reading short — the
8
+ # rule bending the prose rather than the prose bending to the rule. Hence the inner
9
+ # `.`/`,` group: a digit or letter run, plus any run joined to it by the separators
10
+ # a number or a filename uses. `05-15` and `device-group` still count as two, which
11
+ # keeps ordinary hyphenated prose honest.
12
+ #
13
+ # NOT fixed here: Vale's own tokenizer sometimes refuses to end a sentence on a
14
+ # figure, so `…sierra $5,616.00. Alpha…` reaches the rule as ONE sentence and two
15
+ # short sentences fail together. It is rare — a whole corpus turned up none — and
16
+ # every workaround inside a style file costs more than it saves, since re-splitting
17
+ # by regex drops every word after the first `e.g.` and hides real offenders. Split
18
+ # the sentence by hand if it ever fires; the fix belongs upstream in Vale.
4
19
  extends: occurrence
5
20
  message: 'Sentence is long (over 30 words) — split it or cut fat.'
6
21
  level: error
7
- # Match a run of non-terminal chars ending in sentence punctuation.
8
22
  scope: sentence
9
- token: '\b(\w+)\b'
23
+ # A word: an alphanumeric run, `.`/`,`-joined runs after it ($14,903.16, config.ts),
24
+ # then a possessive or contraction (homeowner's).
25
+ token: "\\b([A-Za-z0-9_]+(?:[.,][A-Za-z0-9_]+)*(?:['\u2019][A-Za-z_]+)*)"
10
26
  max: 30
@@ -0,0 +1,8 @@
1
+ extends: existence
2
+ message: "'%s' is airlinese."
3
+ ignorecase: true
4
+ level: error
5
+ tokens:
6
+ - enplan(?:e|ed|ing|ement)
7
+ - deplan(?:e|ed|ing|ement)
8
+ - taking off momentarily
@@ -0,0 +1,48 @@
1
+ extends: substitution
2
+ message: "Consider using '%s' instead of '%s'."
3
+ level: error
4
+ action:
5
+ name: replace
6
+ swap:
7
+ (?:bull|ox)-like: taurine
8
+ (?:calf|veal)-like: vituline
9
+ (?:crow|raven)-like: corvine
10
+ (?:leopard|panther)-like: pardine
11
+ bird-like: avine
12
+ centipede-like: scolopendrine
13
+ crab-like: cancrine
14
+ crocodile-like: crocodiline
15
+ deer-like: damine
16
+ eagle-like: aquiline
17
+ earthworm-like: lumbricine
18
+ falcon-like: falconine
19
+ ferine: wild animal-like
20
+ fish-like: piscine
21
+ fox-like: vulpine
22
+ frog-like: ranine
23
+ goat-like: hircine
24
+ goose-like: anserine
25
+ gull-like: laridine
26
+ hare-like: leporine
27
+ hawk-like: accipitrine
28
+ hippopotamus-like: hippopotamine
29
+ lizard-like: lacertine
30
+ mongoose-like: viverrine
31
+ mouse-like: murine
32
+ ostrich-like: struthionine
33
+ peacock-like: pavonine
34
+ porcupine-like: hystricine
35
+ rattlesnake-like: crotaline
36
+ sable-like: zibeline
37
+ sheep-like: ovine
38
+ shrew-like: soricine
39
+ sparrow-like: passerine
40
+ swallow-like: hirundine
41
+ swine-like: suilline
42
+ tiger-like: tigrine
43
+ viper-like: viperine
44
+ vulture-like: vulturine
45
+ wasp-like: vespine
46
+ wolf-like: lupine
47
+ woodpecker-like: picine
48
+ zebra-like: zebrine
@@ -0,0 +1,9 @@
1
+ extends: existence
2
+ message: "'%s' left in text."
3
+ ignorecase: false
4
+ level: error
5
+ tokens:
6
+ - XXX
7
+ - FIXME
8
+ - TODO
9
+ - NOTE
@@ -0,0 +1,8 @@
1
+ extends: existence
2
+ message: "Excessive apologizing: '%s'"
3
+ ignorecase: true
4
+ level: error
5
+ action:
6
+ name: remove
7
+ tokens:
8
+ - More research is needed
@@ -0,0 +1,52 @@
1
+ extends: existence
2
+ message: "'%s' is archaic."
3
+ ignorecase: true
4
+ level: error
5
+ tokens:
6
+ - alack
7
+ - anent
8
+ - begat
9
+ - belike
10
+ - betimes
11
+ - boughten
12
+ - brocage
13
+ - brokage
14
+ - camarade
15
+ - chiefer
16
+ - chiefest
17
+ - Christiana
18
+ - completely obsolescent
19
+ - cozen
20
+ - divers
21
+ - deflexion
22
+ - fain
23
+ - forsooth
24
+ - foreclose from
25
+ - haply
26
+ - howbeit
27
+ - illumine
28
+ - in sooth
29
+ - maugre
30
+ - meseems
31
+ - methinks
32
+ - nigh
33
+ - peradventure
34
+ - perchance
35
+ - saith
36
+ - shew
37
+ - sistren
38
+ - spake
39
+ - to wit
40
+ - verily
41
+ - whilom
42
+ - withal
43
+ - wot
44
+ - enclosed please find
45
+ - please find enclosed
46
+ - enclosed herewith
47
+ - enclosed herein
48
+ - inforce
49
+ - ex postfacto
50
+ - foreclose from
51
+ - forewent
52
+ - for ever
@@ -0,0 +1,8 @@
1
+ extends: existence
2
+ message: "Do not start a paragraph with a 'but'."
3
+ level: error
4
+ scope: paragraph
5
+ action:
6
+ name: remove
7
+ tokens:
8
+ - ^But