chaffjs 0.50.0 → 0.51.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 (890) hide show
  1. package/README.ja.md +30 -3
  2. package/README.md +30 -2
  3. package/dist/allow.d.ts +49 -0
  4. package/dist/allow.d.ts.map +1 -0
  5. package/dist/allow.js +111 -0
  6. package/dist/allow.js.map +1 -0
  7. package/dist/check-source.d.ts +13 -3
  8. package/dist/check-source.d.ts.map +1 -1
  9. package/dist/check-source.js +23 -6
  10. package/dist/check-source.js.map +1 -1
  11. package/dist/cli-text.d.ts +7 -1
  12. package/dist/cli-text.d.ts.map +1 -1
  13. package/dist/cli-text.js +8 -2
  14. package/dist/cli-text.js.map +1 -1
  15. package/dist/cli.d.ts.map +1 -1
  16. package/dist/cli.js +12 -11
  17. package/dist/cli.js.map +1 -1
  18. package/dist/commands/eval.js +1 -1
  19. package/dist/commands/eval.js.map +1 -1
  20. package/dist/commands/suppressions.d.ts +4 -1
  21. package/dist/commands/suppressions.d.ts.map +1 -1
  22. package/dist/commands/suppressions.js +2 -2
  23. package/dist/commands/suppressions.js.map +1 -1
  24. package/dist/commands/test.js +1 -1
  25. package/dist/commands/test.js.map +1 -1
  26. package/dist/compound-head.d.ts +5 -2
  27. package/dist/compound-head.d.ts.map +1 -1
  28. package/dist/compound-head.js +17 -8
  29. package/dist/compound-head.js.map +1 -1
  30. package/dist/config/allow-problems.d.ts +8 -0
  31. package/dist/config/allow-problems.d.ts.map +1 -0
  32. package/dist/config/allow-problems.js +61 -0
  33. package/dist/config/allow-problems.js.map +1 -0
  34. package/dist/config/by-path-problems.d.ts +3 -0
  35. package/dist/config/by-path-problems.d.ts.map +1 -1
  36. package/dist/config/by-path-problems.js +21 -2
  37. package/dist/config/by-path-problems.js.map +1 -1
  38. package/dist/config/by-path-rules.d.ts +34 -0
  39. package/dist/config/by-path-rules.d.ts.map +1 -0
  40. package/dist/config/by-path-rules.js +53 -0
  41. package/dist/config/by-path-rules.js.map +1 -0
  42. package/dist/config/by-path.d.ts +15 -0
  43. package/dist/config/by-path.d.ts.map +1 -1
  44. package/dist/config/by-path.js.map +1 -1
  45. package/dist/config/consistent-problems.d.ts +5 -0
  46. package/dist/config/consistent-problems.d.ts.map +1 -0
  47. package/dist/config/consistent-problems.js +24 -0
  48. package/dist/config/consistent-problems.js.map +1 -0
  49. package/dist/config/load.d.ts +23 -1
  50. package/dist/config/load.d.ts.map +1 -1
  51. package/dist/config/load.js +63 -10
  52. package/dist/config/load.js.map +1 -1
  53. package/dist/config/option-problems.d.ts +6 -4
  54. package/dist/config/option-problems.d.ts.map +1 -1
  55. package/dist/config/option-problems.js +5 -2
  56. package/dist/config/option-problems.js.map +1 -1
  57. package/dist/config/prefer-problems.d.ts +5 -0
  58. package/dist/config/prefer-problems.d.ts.map +1 -0
  59. package/dist/config/prefer-problems.js +15 -0
  60. package/dist/config/prefer-problems.js.map +1 -0
  61. package/dist/config/prefer.d.ts +21 -0
  62. package/dist/config/prefer.d.ts.map +1 -0
  63. package/dist/config/prefer.js +35 -0
  64. package/dist/config/prefer.js.map +1 -0
  65. package/dist/config/term-problems.d.ts +5 -0
  66. package/dist/config/term-problems.d.ts.map +1 -0
  67. package/dist/config/term-problems.js +25 -0
  68. package/dist/config/term-problems.js.map +1 -0
  69. package/dist/config/warnings.d.ts +1 -1
  70. package/dist/config/warnings.d.ts.map +1 -1
  71. package/dist/config/warnings.js +9 -2
  72. package/dist/config/warnings.js.map +1 -1
  73. package/dist/cross-variants.d.ts +1 -1
  74. package/dist/cross-variants.d.ts.map +1 -1
  75. package/dist/cross-variants.js +4 -8
  76. package/dist/cross-variants.js.map +1 -1
  77. package/dist/cross-votes.d.ts +13 -0
  78. package/dist/cross-votes.d.ts.map +1 -1
  79. package/dist/cross-votes.js +25 -2
  80. package/dist/cross-votes.js.map +1 -1
  81. package/dist/custom/parse.d.ts +9 -0
  82. package/dist/custom/parse.d.ts.map +1 -1
  83. package/dist/custom/parse.js +11 -2
  84. package/dist/custom/parse.js.map +1 -1
  85. package/dist/custom/problems.d.ts.map +1 -1
  86. package/dist/custom/problems.js +9 -3
  87. package/dist/custom/problems.js.map +1 -1
  88. package/dist/custom/scope-field.d.ts +7 -0
  89. package/dist/custom/scope-field.d.ts.map +1 -0
  90. package/dist/custom/scope-field.js +14 -0
  91. package/dist/custom/scope-field.js.map +1 -0
  92. package/dist/date-format.d.ts +5 -3
  93. package/dist/date-format.d.ts.map +1 -1
  94. package/dist/date-format.js +30 -5
  95. package/dist/date-format.js.map +1 -1
  96. package/dist/derived/elapsed.d.ts +4 -1
  97. package/dist/derived/elapsed.d.ts.map +1 -1
  98. package/dist/derived/elapsed.js +11 -1
  99. package/dist/derived/elapsed.js.map +1 -1
  100. package/dist/detectors/acronym-context.d.ts +3 -1
  101. package/dist/detectors/acronym-context.d.ts.map +1 -1
  102. package/dist/detectors/acronym-context.js +7 -1
  103. package/dist/detectors/acronym-context.js.map +1 -1
  104. package/dist/detectors/acronym-gloss.d.ts +20 -7
  105. package/dist/detectors/acronym-gloss.d.ts.map +1 -1
  106. package/dist/detectors/acronym-gloss.js +50 -13
  107. package/dist/detectors/acronym-gloss.js.map +1 -1
  108. package/dist/detectors/bare-comparative.d.ts +4 -0
  109. package/dist/detectors/bare-comparative.d.ts.map +1 -1
  110. package/dist/detectors/bare-comparative.js +27 -3
  111. package/dist/detectors/bare-comparative.js.map +1 -1
  112. package/dist/detectors/blank-structure.d.ts +5 -1
  113. package/dist/detectors/blank-structure.d.ts.map +1 -1
  114. package/dist/detectors/blank-structure.js +13 -7
  115. package/dist/detectors/blank-structure.js.map +1 -1
  116. package/dist/detectors/bold-label.d.ts.map +1 -1
  117. package/dist/detectors/bold-label.js +12 -6
  118. package/dist/detectors/bold-label.js.map +1 -1
  119. package/dist/detectors/bracket-title-date.d.ts +6 -0
  120. package/dist/detectors/bracket-title-date.d.ts.map +1 -0
  121. package/dist/detectors/bracket-title-date.js +29 -0
  122. package/dist/detectors/bracket-title-date.js.map +1 -0
  123. package/dist/detectors/broken-link.d.ts.map +1 -1
  124. package/dist/detectors/broken-link.js +12 -1
  125. package/dist/detectors/broken-link.js.map +1 -1
  126. package/dist/detectors/capitalised-term.d.ts.map +1 -1
  127. package/dist/detectors/capitalised-term.js +24 -11
  128. package/dist/detectors/capitalised-term.js.map +1 -1
  129. package/dist/detectors/change-rate.d.ts.map +1 -1
  130. package/dist/detectors/change-rate.js +27 -4
  131. package/dist/detectors/change-rate.js.map +1 -1
  132. package/dist/detectors/char-shape.d.ts.map +1 -1
  133. package/dist/detectors/char-shape.js +12 -17
  134. package/dist/detectors/char-shape.js.map +1 -1
  135. package/dist/detectors/clause-shape.d.ts +4 -2
  136. package/dist/detectors/clause-shape.d.ts.map +1 -1
  137. package/dist/detectors/clause-shape.js +8 -4
  138. package/dist/detectors/clause-shape.js.map +1 -1
  139. package/dist/detectors/contraction-mix.d.ts.map +1 -1
  140. package/dist/detectors/contraction-mix.js +3 -2
  141. package/dist/detectors/contraction-mix.js.map +1 -1
  142. package/dist/detectors/contraction-set-apart.d.ts +7 -1
  143. package/dist/detectors/contraction-set-apart.d.ts.map +1 -1
  144. package/dist/detectors/contraction-set-apart.js +14 -1
  145. package/dist/detectors/contraction-set-apart.js.map +1 -1
  146. package/dist/detectors/coordinate-adjective.d.ts +5 -3
  147. package/dist/detectors/coordinate-adjective.d.ts.map +1 -1
  148. package/dist/detectors/coordinate-adjective.js +49 -1
  149. package/dist/detectors/coordinate-adjective.js.map +1 -1
  150. package/dist/detectors/count-per-section.d.ts.map +1 -1
  151. package/dist/detectors/count-per-section.js +29 -23
  152. package/dist/detectors/count-per-section.js.map +1 -1
  153. package/dist/detectors/counter-edge.d.ts +11 -0
  154. package/dist/detectors/counter-edge.d.ts.map +1 -1
  155. package/dist/detectors/counter-edge.js +17 -0
  156. package/dist/detectors/counter-edge.js.map +1 -1
  157. package/dist/detectors/cross-variant.d.ts.map +1 -1
  158. package/dist/detectors/cross-variant.js +14 -2
  159. package/dist/detectors/cross-variant.js.map +1 -1
  160. package/dist/detectors/custom.d.ts.map +1 -1
  161. package/dist/detectors/custom.js +6 -4
  162. package/dist/detectors/custom.js.map +1 -1
  163. package/dist/detectors/date-format.js +1 -1
  164. package/dist/detectors/date-format.js.map +1 -1
  165. package/dist/detectors/date-repeated-day.d.ts +11 -0
  166. package/dist/detectors/date-repeated-day.d.ts.map +1 -0
  167. package/dist/detectors/date-repeated-day.js +15 -0
  168. package/dist/detectors/date-repeated-day.js.map +1 -0
  169. package/dist/detectors/date-year.d.ts.map +1 -1
  170. package/dist/detectors/date-year.js +8 -1
  171. package/dist/detectors/date-year.js.map +1 -1
  172. package/dist/detectors/defined-term-form.d.ts.map +1 -1
  173. package/dist/detectors/defined-term-form.js +6 -3
  174. package/dist/detectors/defined-term-form.js.map +1 -1
  175. package/dist/detectors/definition-use.d.ts.map +1 -1
  176. package/dist/detectors/definition-use.js +7 -1
  177. package/dist/detectors/definition-use.js.map +1 -1
  178. package/dist/detectors/derived-numbers.d.ts.map +1 -1
  179. package/dist/detectors/derived-numbers.js +1 -0
  180. package/dist/detectors/derived-numbers.js.map +1 -1
  181. package/dist/detectors/document-shape.d.ts +1 -1
  182. package/dist/detectors/document-shape.d.ts.map +1 -1
  183. package/dist/detectors/document-shape.js +4 -1
  184. package/dist/detectors/document-shape.js.map +1 -1
  185. package/dist/detectors/email-letter.d.ts +3 -1
  186. package/dist/detectors/email-letter.d.ts.map +1 -1
  187. package/dist/detectors/email-letter.js +4 -2
  188. package/dist/detectors/email-letter.js.map +1 -1
  189. package/dist/detectors/empty-section.d.ts +1 -0
  190. package/dist/detectors/empty-section.d.ts.map +1 -1
  191. package/dist/detectors/empty-section.js +10 -1
  192. package/dist/detectors/empty-section.js.map +1 -1
  193. package/dist/detectors/en-shape.d.ts.map +1 -1
  194. package/dist/detectors/en-shape.js +15 -1
  195. package/dist/detectors/en-shape.js.map +1 -1
  196. package/dist/detectors/enumeration-marker.d.ts +7 -0
  197. package/dist/detectors/enumeration-marker.d.ts.map +1 -0
  198. package/dist/detectors/enumeration-marker.js +8 -0
  199. package/dist/detectors/enumeration-marker.js.map +1 -0
  200. package/dist/detectors/event-title-item.d.ts +8 -0
  201. package/dist/detectors/event-title-item.d.ts.map +1 -0
  202. package/dist/detectors/event-title-item.js +45 -0
  203. package/dist/detectors/event-title-item.js.map +1 -0
  204. package/dist/detectors/example-baseline.d.ts +5 -0
  205. package/dist/detectors/example-baseline.d.ts.map +1 -1
  206. package/dist/detectors/example-baseline.js +15 -1
  207. package/dist/detectors/example-baseline.js.map +1 -1
  208. package/dist/detectors/filler-word.d.ts +11 -0
  209. package/dist/detectors/filler-word.d.ts.map +1 -0
  210. package/dist/detectors/filler-word.js +73 -0
  211. package/dist/detectors/filler-word.js.map +1 -0
  212. package/dist/detectors/fullwidth-alnum.d.ts.map +1 -1
  213. package/dist/detectors/fullwidth-alnum.js +19 -0
  214. package/dist/detectors/fullwidth-alnum.js.map +1 -1
  215. package/dist/detectors/heading-case.d.ts.map +1 -1
  216. package/dist/detectors/heading-case.js +6 -1
  217. package/dist/detectors/heading-case.js.map +1 -1
  218. package/dist/detectors/heading-marker-no-space.d.ts +3 -0
  219. package/dist/detectors/heading-marker-no-space.d.ts.map +1 -0
  220. package/dist/detectors/heading-marker-no-space.js +49 -0
  221. package/dist/detectors/heading-marker-no-space.js.map +1 -0
  222. package/dist/detectors/hyphen-name-suffix.d.ts.map +1 -1
  223. package/dist/detectors/hyphen-name-suffix.js +3 -2
  224. package/dist/detectors/hyphen-name-suffix.js.map +1 -1
  225. package/dist/detectors/inline-item-label.d.ts +6 -0
  226. package/dist/detectors/inline-item-label.d.ts.map +1 -0
  227. package/dist/detectors/inline-item-label.js +68 -0
  228. package/dist/detectors/inline-item-label.js.map +1 -0
  229. package/dist/detectors/kanji-name-edge.d.ts +5 -0
  230. package/dist/detectors/kanji-name-edge.d.ts.map +1 -1
  231. package/dist/detectors/kanji-name-edge.js +9 -0
  232. package/dist/detectors/kanji-name-edge.js.map +1 -1
  233. package/dist/detectors/known-correction.d.ts.map +1 -1
  234. package/dist/detectors/known-correction.js +13 -1
  235. package/dist/detectors/known-correction.js.map +1 -1
  236. package/dist/detectors/link-definition.d.ts +3 -0
  237. package/dist/detectors/link-definition.d.ts.map +1 -0
  238. package/dist/detectors/link-definition.js +78 -0
  239. package/dist/detectors/link-definition.js.map +1 -0
  240. package/dist/detectors/list-item-asides.d.ts +7 -0
  241. package/dist/detectors/list-item-asides.d.ts.map +1 -0
  242. package/dist/detectors/list-item-asides.js +25 -0
  243. package/dist/detectors/list-item-asides.js.map +1 -0
  244. package/dist/detectors/list-item.d.ts +2 -0
  245. package/dist/detectors/list-item.d.ts.map +1 -1
  246. package/dist/detectors/list-item.js +6 -0
  247. package/dist/detectors/list-item.js.map +1 -1
  248. package/dist/detectors/list-items.d.ts.map +1 -1
  249. package/dist/detectors/list-items.js +12 -3
  250. package/dist/detectors/list-items.js.map +1 -1
  251. package/dist/detectors/list-opening-conjunction.d.ts +7 -0
  252. package/dist/detectors/list-opening-conjunction.d.ts.map +1 -0
  253. package/dist/detectors/list-opening-conjunction.js +22 -0
  254. package/dist/detectors/list-opening-conjunction.js.map +1 -0
  255. package/dist/detectors/list-parallel.d.ts.map +1 -1
  256. package/dist/detectors/list-parallel.js +11 -14
  257. package/dist/detectors/list-parallel.js.map +1 -1
  258. package/dist/detectors/list-run.d.ts.map +1 -1
  259. package/dist/detectors/list-run.js +15 -3
  260. package/dist/detectors/list-run.js.map +1 -1
  261. package/dist/detectors/list-verb-series.d.ts +6 -0
  262. package/dist/detectors/list-verb-series.d.ts.map +1 -0
  263. package/dist/detectors/list-verb-series.js +20 -0
  264. package/dist/detectors/list-verb-series.js.map +1 -0
  265. package/dist/detectors/mark-shape.d.ts +5 -2
  266. package/dist/detectors/mark-shape.d.ts.map +1 -1
  267. package/dist/detectors/mark-shape.js +12 -15
  268. package/dist/detectors/mark-shape.js.map +1 -1
  269. package/dist/detectors/markdown-slip.d.ts +5 -0
  270. package/dist/detectors/markdown-slip.d.ts.map +1 -1
  271. package/dist/detectors/markdown-slip.js +23 -0
  272. package/dist/detectors/markdown-slip.js.map +1 -1
  273. package/dist/detectors/marked-word.d.ts +10 -0
  274. package/dist/detectors/marked-word.d.ts.map +1 -0
  275. package/dist/detectors/marked-word.js +30 -0
  276. package/dist/detectors/marked-word.js.map +1 -0
  277. package/dist/detectors/middle-dot.d.ts +1 -1
  278. package/dist/detectors/middle-dot.d.ts.map +1 -1
  279. package/dist/detectors/middle-dot.js +21 -2
  280. package/dist/detectors/middle-dot.js.map +1 -1
  281. package/dist/detectors/missing-final-period.d.ts.map +1 -1
  282. package/dist/detectors/missing-final-period.js +8 -1
  283. package/dist/detectors/missing-final-period.js.map +1 -1
  284. package/dist/detectors/name-variant-two-things.d.ts +2 -1
  285. package/dist/detectors/name-variant-two-things.d.ts.map +1 -1
  286. package/dist/detectors/name-variant-two-things.js +30 -2
  287. package/dist/detectors/name-variant-two-things.js.map +1 -1
  288. package/dist/detectors/net-amount-mismatch.d.ts.map +1 -1
  289. package/dist/detectors/net-amount-mismatch.js +26 -4
  290. package/dist/detectors/net-amount-mismatch.js.map +1 -1
  291. package/dist/detectors/nominalization.d.ts.map +1 -1
  292. package/dist/detectors/nominalization.js +6 -1
  293. package/dist/detectors/nominalization.js.map +1 -1
  294. package/dist/detectors/number-style.d.ts +2 -0
  295. package/dist/detectors/number-style.d.ts.map +1 -1
  296. package/dist/detectors/number-style.js +5 -0
  297. package/dist/detectors/number-style.js.map +1 -1
  298. package/dist/detectors/ordinary-phrase.d.ts +5 -0
  299. package/dist/detectors/ordinary-phrase.d.ts.map +1 -1
  300. package/dist/detectors/ordinary-phrase.js +12 -0
  301. package/dist/detectors/ordinary-phrase.js.map +1 -1
  302. package/dist/detectors/organisation-run.d.ts +2 -0
  303. package/dist/detectors/organisation-run.d.ts.map +1 -1
  304. package/dist/detectors/organisation-run.js +7 -0
  305. package/dist/detectors/organisation-run.js.map +1 -1
  306. package/dist/detectors/orthographic-variant-kanji-word.d.ts +22 -0
  307. package/dist/detectors/orthographic-variant-kanji-word.d.ts.map +1 -0
  308. package/dist/detectors/orthographic-variant-kanji-word.js +27 -0
  309. package/dist/detectors/orthographic-variant-kanji-word.js.map +1 -0
  310. package/dist/detectors/orthographic-variant-open.d.ts.map +1 -1
  311. package/dist/detectors/orthographic-variant-open.js +2 -1
  312. package/dist/detectors/orthographic-variant-open.js.map +1 -1
  313. package/dist/detectors/orthographic-variant-text.d.ts +7 -0
  314. package/dist/detectors/orthographic-variant-text.d.ts.map +1 -0
  315. package/dist/detectors/orthographic-variant-text.js +14 -0
  316. package/dist/detectors/orthographic-variant-text.js.map +1 -0
  317. package/dist/detectors/orthographic-variant.d.ts.map +1 -1
  318. package/dist/detectors/orthographic-variant.js +22 -23
  319. package/dist/detectors/orthographic-variant.js.map +1 -1
  320. package/dist/detectors/orthography.d.ts.map +1 -1
  321. package/dist/detectors/orthography.js +12 -2
  322. package/dist/detectors/orthography.js.map +1 -1
  323. package/dist/detectors/oxford-comma.d.ts.map +1 -1
  324. package/dist/detectors/oxford-comma.js +14 -3
  325. package/dist/detectors/oxford-comma.js.map +1 -1
  326. package/dist/detectors/paragraph-run.d.ts +1 -1
  327. package/dist/detectors/paragraph-run.d.ts.map +1 -1
  328. package/dist/detectors/paragraph-run.js +4 -2
  329. package/dist/detectors/paragraph-run.js.map +1 -1
  330. package/dist/detectors/placeholder-text.d.ts.map +1 -1
  331. package/dist/detectors/placeholder-text.js +12 -4
  332. package/dist/detectors/placeholder-text.js.map +1 -1
  333. package/dist/detectors/placeholder.d.ts +1 -0
  334. package/dist/detectors/placeholder.d.ts.map +1 -1
  335. package/dist/detectors/placeholder.js +8 -0
  336. package/dist/detectors/placeholder.js.map +1 -1
  337. package/dist/detectors/pseudo-heading.d.ts +9 -0
  338. package/dist/detectors/pseudo-heading.d.ts.map +1 -0
  339. package/dist/detectors/pseudo-heading.js +54 -0
  340. package/dist/detectors/pseudo-heading.js.map +1 -0
  341. package/dist/detectors/quote-around.d.ts +1 -1
  342. package/dist/detectors/quote-around.d.ts.map +1 -1
  343. package/dist/detectors/quote-around.js +26 -5
  344. package/dist/detectors/quote-around.js.map +1 -1
  345. package/dist/detectors/quoted-label.d.ts +8 -0
  346. package/dist/detectors/quoted-label.d.ts.map +1 -0
  347. package/dist/detectors/quoted-label.js +18 -0
  348. package/dist/detectors/quoted-label.js.map +1 -0
  349. package/dist/detectors/ra-nuki.d.ts +1 -7
  350. package/dist/detectors/ra-nuki.d.ts.map +1 -1
  351. package/dist/detectors/ra-nuki.js +2 -27
  352. package/dist/detectors/ra-nuki.js.map +1 -1
  353. package/dist/detectors/register-required.d.ts +27 -0
  354. package/dist/detectors/register-required.d.ts.map +1 -0
  355. package/dist/detectors/register-required.js +33 -0
  356. package/dist/detectors/register-required.js.map +1 -0
  357. package/dist/detectors/register-voice.d.ts +13 -1
  358. package/dist/detectors/register-voice.d.ts.map +1 -1
  359. package/dist/detectors/register-voice.js +27 -0
  360. package/dist/detectors/register-voice.js.map +1 -1
  361. package/dist/detectors/registry/enumeration-marker.d.ts +3 -0
  362. package/dist/detectors/registry/enumeration-marker.d.ts.map +1 -0
  363. package/dist/detectors/registry/enumeration-marker.js +3 -0
  364. package/dist/detectors/registry/enumeration-marker.js.map +1 -0
  365. package/dist/detectors/registry/filler-word.d.ts +3 -0
  366. package/dist/detectors/registry/filler-word.d.ts.map +1 -0
  367. package/dist/detectors/registry/filler-word.js +3 -0
  368. package/dist/detectors/registry/filler-word.js.map +1 -0
  369. package/dist/detectors/registry/heading-marker-no-space.d.ts +3 -0
  370. package/dist/detectors/registry/heading-marker-no-space.d.ts.map +1 -0
  371. package/dist/detectors/registry/heading-marker-no-space.js +3 -0
  372. package/dist/detectors/registry/heading-marker-no-space.js.map +1 -0
  373. package/dist/detectors/registry/link-definition-unused.d.ts +3 -0
  374. package/dist/detectors/registry/link-definition-unused.d.ts.map +1 -0
  375. package/dist/detectors/registry/link-definition-unused.js +3 -0
  376. package/dist/detectors/registry/link-definition-unused.js.map +1 -0
  377. package/dist/detectors/registry/pseudo-heading.d.ts +3 -0
  378. package/dist/detectors/registry/pseudo-heading.d.ts.map +1 -0
  379. package/dist/detectors/registry/pseudo-heading.js +3 -0
  380. package/dist/detectors/registry/pseudo-heading.js.map +1 -0
  381. package/dist/detectors/registry/reversed-link.d.ts +3 -0
  382. package/dist/detectors/registry/reversed-link.d.ts.map +1 -0
  383. package/dist/detectors/registry/reversed-link.js +3 -0
  384. package/dist/detectors/registry/reversed-link.js.map +1 -0
  385. package/dist/detectors/registry/sa-ire.d.ts +3 -0
  386. package/dist/detectors/registry/sa-ire.d.ts.map +1 -0
  387. package/dist/detectors/registry/sa-ire.js +3 -0
  388. package/dist/detectors/registry/sa-ire.js.map +1 -0
  389. package/dist/detectors/registry/table-absorbed-line.d.ts +3 -0
  390. package/dist/detectors/registry/table-absorbed-line.d.ts.map +1 -0
  391. package/dist/detectors/registry/table-absorbed-line.js +3 -0
  392. package/dist/detectors/registry/table-absorbed-line.js.map +1 -0
  393. package/dist/detectors/registry/term-consistency.d.ts +3 -0
  394. package/dist/detectors/registry/term-consistency.d.ts.map +1 -0
  395. package/dist/detectors/registry/term-consistency.js +3 -0
  396. package/dist/detectors/registry/term-consistency.js.map +1 -0
  397. package/dist/detectors/registry/term-form.d.ts +3 -0
  398. package/dist/detectors/registry/term-form.d.ts.map +1 -0
  399. package/dist/detectors/registry/term-form.js +3 -0
  400. package/dist/detectors/registry/term-form.js.map +1 -0
  401. package/dist/detectors/relative-pronoun-mix.d.ts +1 -1
  402. package/dist/detectors/relative-pronoun-mix.d.ts.map +1 -1
  403. package/dist/detectors/relative-pronoun-mix.js +14 -3
  404. package/dist/detectors/relative-pronoun-mix.js.map +1 -1
  405. package/dist/detectors/release-notes.d.ts +7 -0
  406. package/dist/detectors/release-notes.d.ts.map +1 -0
  407. package/dist/detectors/release-notes.js +12 -0
  408. package/dist/detectors/release-notes.js.map +1 -0
  409. package/dist/detectors/request-owner.d.ts +5 -1
  410. package/dist/detectors/request-owner.d.ts.map +1 -1
  411. package/dist/detectors/request-owner.js +53 -1
  412. package/dist/detectors/request-owner.js.map +1 -1
  413. package/dist/detectors/reversed-link.d.ts +3 -0
  414. package/dist/detectors/reversed-link.d.ts.map +1 -0
  415. package/dist/detectors/reversed-link.js +31 -0
  416. package/dist/detectors/reversed-link.js.map +1 -0
  417. package/dist/detectors/sa-ire.d.ts +3 -0
  418. package/dist/detectors/sa-ire.d.ts.map +1 -0
  419. package/dist/detectors/sa-ire.js +5 -0
  420. package/dist/detectors/sa-ire.js.map +1 -0
  421. package/dist/detectors/sentence-counts.d.ts.map +1 -1
  422. package/dist/detectors/sentence-counts.js +19 -6
  423. package/dist/detectors/sentence-counts.js.map +1 -1
  424. package/dist/detectors/sentence-ending.d.ts.map +1 -1
  425. package/dist/detectors/sentence-ending.js +35 -11
  426. package/dist/detectors/sentence-ending.js.map +1 -1
  427. package/dist/detectors/sentence-length.d.ts.map +1 -1
  428. package/dist/detectors/sentence-length.js +11 -1
  429. package/dist/detectors/sentence-length.js.map +1 -1
  430. package/dist/detectors/sentence-rhythm.d.ts.map +1 -1
  431. package/dist/detectors/sentence-rhythm.js +6 -2
  432. package/dist/detectors/sentence-rhythm.js.map +1 -1
  433. package/dist/detectors/signals.js +2 -2
  434. package/dist/detectors/signals.js.map +1 -1
  435. package/dist/detectors/structure.d.ts +1 -0
  436. package/dist/detectors/structure.d.ts.map +1 -1
  437. package/dist/detectors/structure.js +5 -0
  438. package/dist/detectors/structure.js.map +1 -1
  439. package/dist/detectors/technical-docs.d.ts +8 -1
  440. package/dist/detectors/technical-docs.d.ts.map +1 -1
  441. package/dist/detectors/technical-docs.js +16 -3
  442. package/dist/detectors/technical-docs.js.map +1 -1
  443. package/dist/detectors/term-consistency.d.ts +4 -0
  444. package/dist/detectors/term-consistency.d.ts.map +1 -0
  445. package/dist/detectors/term-consistency.js +35 -0
  446. package/dist/detectors/term-consistency.js.map +1 -0
  447. package/dist/detectors/term-form.d.ts +4 -0
  448. package/dist/detectors/term-form.d.ts.map +1 -0
  449. package/dist/detectors/term-form.js +17 -0
  450. package/dist/detectors/term-form.js.map +1 -0
  451. package/dist/detectors/token-shape.d.ts.map +1 -1
  452. package/dist/detectors/token-shape.js +4 -1
  453. package/dist/detectors/token-shape.js.map +1 -1
  454. package/dist/detectors/unbalanced-bracket.d.ts +1 -1
  455. package/dist/detectors/unbalanced-bracket.d.ts.map +1 -1
  456. package/dist/detectors/unbalanced-bracket.js +4 -2
  457. package/dist/detectors/unbalanced-bracket.js.map +1 -1
  458. package/dist/detectors/unknown-word-context.d.ts +2 -0
  459. package/dist/detectors/unknown-word-context.d.ts.map +1 -1
  460. package/dist/detectors/unknown-word-context.js +3 -0
  461. package/dist/detectors/unknown-word-context.js.map +1 -1
  462. package/dist/detectors/unknown-word.d.ts.map +1 -1
  463. package/dist/detectors/unknown-word.js +7 -2
  464. package/dist/detectors/unknown-word.js.map +1 -1
  465. package/dist/detectors/vague-density.d.ts.map +1 -1
  466. package/dist/detectors/vague-density.js +10 -2
  467. package/dist/detectors/vague-density.js.map +1 -1
  468. package/dist/detectors/version-mismatch.d.ts.map +1 -1
  469. package/dist/detectors/version-mismatch.js +5 -1
  470. package/dist/detectors/version-mismatch.js.map +1 -1
  471. package/dist/detectors/weasel-word.d.ts.map +1 -1
  472. package/dist/detectors/weasel-word.js +11 -2
  473. package/dist/detectors/weasel-word.js.map +1 -1
  474. package/dist/document-prose.d.ts +17 -0
  475. package/dist/document-prose.d.ts.map +1 -0
  476. package/dist/document-prose.js +35 -0
  477. package/dist/document-prose.js.map +1 -0
  478. package/dist/document-scope.d.ts +16 -0
  479. package/dist/document-scope.d.ts.map +1 -0
  480. package/dist/document-scope.js +51 -0
  481. package/dist/document-scope.js.map +1 -0
  482. package/dist/document.d.ts +10 -1
  483. package/dist/document.d.ts.map +1 -1
  484. package/dist/document.js +26 -37
  485. package/dist/document.js.map +1 -1
  486. package/dist/enumeration-marks.d.ts +23 -0
  487. package/dist/enumeration-marks.d.ts.map +1 -0
  488. package/dist/enumeration-marks.js +184 -0
  489. package/dist/enumeration-marks.js.map +1 -0
  490. package/dist/facts/cross-facts.d.ts +1 -1
  491. package/dist/facts/cross-facts.d.ts.map +1 -1
  492. package/dist/facts/cross-facts.js +8 -3
  493. package/dist/facts/cross-facts.js.map +1 -1
  494. package/dist/facts/labelled-facts.d.ts.map +1 -1
  495. package/dist/facts/labelled-facts.js +7 -4
  496. package/dist/facts/labelled-facts.js.map +1 -1
  497. package/dist/file-header.d.ts +2 -6
  498. package/dist/file-header.d.ts.map +1 -1
  499. package/dist/file-header.js +1 -1
  500. package/dist/file-header.js.map +1 -1
  501. package/dist/files.d.ts +18 -1
  502. package/dist/files.d.ts.map +1 -1
  503. package/dist/files.js +58 -8
  504. package/dist/files.js.map +1 -1
  505. package/dist/gitignore.d.ts +30 -0
  506. package/dist/gitignore.d.ts.map +1 -0
  507. package/dist/gitignore.js +68 -0
  508. package/dist/gitignore.js.map +1 -0
  509. package/dist/grade/stamp.d.ts.map +1 -1
  510. package/dist/grade/stamp.js +5 -0
  511. package/dist/grade/stamp.js.map +1 -1
  512. package/dist/latin-word-boundary.d.ts +5 -0
  513. package/dist/latin-word-boundary.d.ts.map +1 -1
  514. package/dist/latin-word-boundary.js +11 -0
  515. package/dist/latin-word-boundary.js.map +1 -1
  516. package/dist/markdown-node.d.ts +1 -0
  517. package/dist/markdown-node.d.ts.map +1 -1
  518. package/dist/markdown-node.js.map +1 -1
  519. package/dist/name-separator.d.ts.map +1 -1
  520. package/dist/name-separator.js +27 -5
  521. package/dist/name-separator.js.map +1 -1
  522. package/dist/news-dateline.d.ts +7 -0
  523. package/dist/news-dateline.d.ts.map +1 -0
  524. package/dist/news-dateline.js +24 -0
  525. package/dist/news-dateline.js.map +1 -0
  526. package/dist/plugin.d.ts +24 -0
  527. package/dist/plugin.d.ts.map +1 -1
  528. package/dist/reasons.d.ts +4 -0
  529. package/dist/reasons.d.ts.map +1 -1
  530. package/dist/reasons.js +4 -0
  531. package/dist/reasons.js.map +1 -1
  532. package/dist/render/explain.d.ts +3 -0
  533. package/dist/render/explain.d.ts.map +1 -1
  534. package/dist/render/explain.js +19 -1
  535. package/dist/render/explain.js.map +1 -1
  536. package/dist/render/rules-json.d.ts.map +1 -1
  537. package/dist/render/rules-json.js +12 -2
  538. package/dist/render/rules-json.js.map +1 -1
  539. package/dist/render/summary.d.ts +5 -2
  540. package/dist/render/summary.d.ts.map +1 -1
  541. package/dist/render/summary.js +25 -4
  542. package/dist/render/summary.js.map +1 -1
  543. package/dist/render/suppressions.d.ts +6 -1
  544. package/dist/render/suppressions.d.ts.map +1 -1
  545. package/dist/render/suppressions.js +76 -3
  546. package/dist/render/suppressions.js.map +1 -1
  547. package/dist/rule-load.d.ts.map +1 -1
  548. package/dist/rule-load.js +2 -1
  549. package/dist/rule-load.js.map +1 -1
  550. package/dist/run-in-title.d.ts +4 -0
  551. package/dist/run-in-title.d.ts.map +1 -0
  552. package/dist/run-in-title.js +82 -0
  553. package/dist/run-in-title.js.map +1 -0
  554. package/dist/run.d.ts +2 -0
  555. package/dist/run.d.ts.map +1 -1
  556. package/dist/run.js +20 -8
  557. package/dist/run.js.map +1 -1
  558. package/dist/scope-markers.d.ts +9 -0
  559. package/dist/scope-markers.d.ts.map +1 -0
  560. package/dist/scope-markers.js +19 -0
  561. package/dist/scope-markers.js.map +1 -0
  562. package/dist/scope-problem-text.d.ts +4 -0
  563. package/dist/scope-problem-text.d.ts.map +1 -0
  564. package/dist/scope-problem-text.js +17 -0
  565. package/dist/scope-problem-text.js.map +1 -0
  566. package/dist/scoped-sentences.d.ts +21 -0
  567. package/dist/scoped-sentences.d.ts.map +1 -0
  568. package/dist/scoped-sentences.js +21 -0
  569. package/dist/scoped-sentences.js.map +1 -0
  570. package/dist/setting-problems.d.ts.map +1 -1
  571. package/dist/setting-problems.js +4 -0
  572. package/dist/setting-problems.js.map +1 -1
  573. package/dist/spelling.js +4 -4
  574. package/dist/spelling.js.map +1 -1
  575. package/dist/stet-body.d.ts +13 -0
  576. package/dist/stet-body.d.ts.map +1 -0
  577. package/dist/stet-body.js +49 -0
  578. package/dist/stet-body.js.map +1 -0
  579. package/dist/stet.d.ts +30 -4
  580. package/dist/stet.d.ts.map +1 -1
  581. package/dist/stet.js +78 -28
  582. package/dist/stet.js.map +1 -1
  583. package/dist/structure/alert-lines.d.ts +4 -0
  584. package/dist/structure/alert-lines.d.ts.map +1 -0
  585. package/dist/structure/alert-lines.js +19 -0
  586. package/dist/structure/alert-lines.js.map +1 -0
  587. package/dist/structure/catch-all-row-blank.d.ts +9 -0
  588. package/dist/structure/catch-all-row-blank.d.ts.map +1 -0
  589. package/dist/structure/catch-all-row-blank.js +19 -0
  590. package/dist/structure/catch-all-row-blank.js.map +1 -0
  591. package/dist/structure/change-rate-tied.d.ts +22 -0
  592. package/dist/structure/change-rate-tied.d.ts.map +1 -0
  593. package/dist/structure/change-rate-tied.js +85 -0
  594. package/dist/structure/change-rate-tied.js.map +1 -0
  595. package/dist/structure/cross-definitions.d.ts +1 -1
  596. package/dist/structure/cross-definitions.d.ts.map +1 -1
  597. package/dist/structure/cross-definitions.js +3 -9
  598. package/dist/structure/cross-definitions.js.map +1 -1
  599. package/dist/structure/defining-names.d.ts +1 -1
  600. package/dist/structure/defining-names.d.ts.map +1 -1
  601. package/dist/structure/defining-names.js +12 -1
  602. package/dist/structure/defining-names.js.map +1 -1
  603. package/dist/structure/net-amount.d.ts +16 -0
  604. package/dist/structure/net-amount.d.ts.map +1 -1
  605. package/dist/structure/net-amount.js +28 -1
  606. package/dist/structure/net-amount.js.map +1 -1
  607. package/dist/structure/period-label-conflict.d.ts +2 -2
  608. package/dist/structure/period-label-conflict.d.ts.map +1 -1
  609. package/dist/structure/period-label-conflict.js +17 -3
  610. package/dist/structure/period-label-conflict.js.map +1 -1
  611. package/dist/structure/serial-range.d.ts.map +1 -1
  612. package/dist/structure/serial-range.js +14 -6
  613. package/dist/structure/serial-range.js.map +1 -1
  614. package/dist/structure/version-mismatch.d.ts +6 -1
  615. package/dist/structure/version-mismatch.d.ts.map +1 -1
  616. package/dist/structure/version-mismatch.js +28 -6
  617. package/dist/structure/version-mismatch.js.map +1 -1
  618. package/dist/structure/weekday.d.ts.map +1 -1
  619. package/dist/structure/weekday.js +14 -1
  620. package/dist/structure/weekday.js.map +1 -1
  621. package/dist/table-cells.d.ts +1 -1
  622. package/dist/table-cells.d.ts.map +1 -1
  623. package/dist/table-cells.js.map +1 -1
  624. package/dist/term-form.d.ts +15 -0
  625. package/dist/term-form.d.ts.map +1 -0
  626. package/dist/term-form.js +72 -0
  627. package/dist/term-form.js.map +1 -0
  628. package/dist/term-groups.d.ts +33 -0
  629. package/dist/term-groups.d.ts.map +1 -0
  630. package/dist/term-groups.js +46 -0
  631. package/dist/term-groups.js.map +1 -0
  632. package/dist/text-scope.d.ts +35 -0
  633. package/dist/text-scope.d.ts.map +1 -0
  634. package/dist/text-scope.js +55 -0
  635. package/dist/text-scope.js.map +1 -0
  636. package/dist/topic-clause.d.ts.map +1 -1
  637. package/dist/topic-clause.js +85 -16
  638. package/dist/topic-clause.js.map +1 -1
  639. package/dist/unclosed-code-quote.d.ts +7 -0
  640. package/dist/unclosed-code-quote.d.ts.map +1 -0
  641. package/dist/unclosed-code-quote.js +37 -0
  642. package/dist/unclosed-code-quote.js.map +1 -0
  643. package/package.json +4 -3
  644. package/rules/adverb-overuse.yaml +2 -2
  645. package/rules/bold-density.yaml +2 -2
  646. package/rules/bold-label-list.yaml +2 -2
  647. package/rules/bracket-width-consistency.yaml +2 -2
  648. package/rules/broken-link.yaml +2 -2
  649. package/rules/change-rate-mismatch.yaml +2 -2
  650. package/rules/code-fence-language-mix.yaml +2 -2
  651. package/rules/comparative-without-baseline.yaml +2 -2
  652. package/rules/contraction-consistency.yaml +3 -3
  653. package/rules/cross-doc-duplicate-definition.yaml +2 -2
  654. package/rules/cross-doc-fact-conflict.yaml +2 -2
  655. package/rules/cross-doc-term-variant.yaml +4 -4
  656. package/rules/date-format-consistency.yaml +2 -2
  657. package/rules/date-weekday-mismatch.yaml +2 -2
  658. package/rules/date-without-year.yaml +2 -2
  659. package/rules/defined-term-form.yaml +2 -2
  660. package/rules/elapsed-years-mismatch.yaml +2 -2
  661. package/rules/empty-section.yaml +2 -2
  662. package/rules/empty-table-cell.yaml +2 -2
  663. package/rules/enumeration-marker-mix.yaml +102 -0
  664. package/rules/filler-word.yaml +74 -0
  665. package/rules/fullwidth-alnum-consistency.yaml +2 -2
  666. package/rules/heading-marker-no-space.yaml +79 -0
  667. package/rules/hyphen-as-dash.yaml +2 -2
  668. package/rules/known-misspelling.yaml +2 -2
  669. package/rules/latin-spacing.yaml +4 -4
  670. package/rules/link-definition-unused.yaml +107 -0
  671. package/rules/list-item-form-mix.yaml +2 -2
  672. package/rules/max-kanji-continuous.yaml +5 -2
  673. package/rules/max-sentence-length.yaml +2 -2
  674. package/rules/missing-final-period.yaml +2 -2
  675. package/rules/name-variant.yaml +2 -2
  676. package/rules/net-amount-mismatch.yaml +5 -5
  677. package/rules/no-doubled-joshi.yaml +2 -2
  678. package/rules/no-mixed-desumasu.yaml +62 -2
  679. package/rules/no-nakaguro-parallel.yaml +2 -2
  680. package/rules/nominalization.yaml +2 -2
  681. package/rules/number-style-consistency.yaml +2 -2
  682. package/rules/obligation-without-deadline.yaml +2 -2
  683. package/rules/one-sentence-paragraph-run.yaml +2 -2
  684. package/rules/orthographic-variant.yaml +2 -2
  685. package/rules/oxford-comma-consistency.yaml +2 -2
  686. package/rules/period-label-conflict.yaml +2 -2
  687. package/rules/preamble-length.yaml +2 -2
  688. package/rules/pseudo-heading.yaml +79 -0
  689. package/rules/quote-without-source.yaml +2 -2
  690. package/rules/repeated-sentence-ending.yaml +2 -2
  691. package/rules/request-without-deadline.yaml +2 -2
  692. package/rules/reversed-link.yaml +78 -0
  693. package/rules/sa-ire.yaml +43 -0
  694. package/rules/sentence-rhythm.yaml +2 -2
  695. package/rules/serial-range-reversed.yaml +4 -4
  696. package/rules/shell-prompt-mix.yaml +2 -2
  697. package/rules/table-absorbed-line.yaml +88 -0
  698. package/rules/teki-overuse.yaml +2 -2
  699. package/rules/term-consistency.yaml +56 -0
  700. package/rules/term-form.yaml +56 -0
  701. package/rules/title-case-consistency.yaml +4 -4
  702. package/rules/title-length.yaml +2 -2
  703. package/rules/topic-predicate-distance.yaml +2 -2
  704. package/rules/unbalanced-bracket.yaml +2 -2
  705. package/rules/undefined-acronym.yaml +4 -2
  706. package/rules/undefined-term.yaml +2 -2
  707. package/rules/unfilled-placeholder.yaml +2 -2
  708. package/rules/unknown-word.yaml +2 -2
  709. package/rules/use-before-definition.yaml +2 -2
  710. package/rules/vague-word-density.yaml +2 -2
  711. package/rules/version-mismatch.yaml +2 -2
  712. package/rules/weasel-word.yaml +3 -3
  713. package/rules/which-that-consistency.yaml +2 -2
  714. package/skills/chaff/SKILL.md +51 -7
  715. package/src/allow.ts +146 -0
  716. package/src/check-source.ts +33 -9
  717. package/src/cli-text.ts +13 -4
  718. package/src/cli.ts +16 -15
  719. package/src/commands/eval.ts +1 -1
  720. package/src/commands/suppressions.ts +3 -3
  721. package/src/commands/test.ts +1 -1
  722. package/src/compound-head.ts +17 -8
  723. package/src/config/allow-problems.ts +75 -0
  724. package/src/config/by-path-problems.ts +29 -3
  725. package/src/config/by-path-rules.ts +78 -0
  726. package/src/config/by-path.ts +9 -0
  727. package/src/config/consistent-problems.ts +36 -0
  728. package/src/config/load.ts +87 -15
  729. package/src/config/option-problems.ts +8 -5
  730. package/src/config/prefer-problems.ts +22 -0
  731. package/src/config/prefer.ts +52 -0
  732. package/src/config/term-problems.ts +38 -0
  733. package/src/config/warnings.ts +9 -2
  734. package/src/cross-variants.ts +4 -7
  735. package/src/cross-votes.ts +35 -4
  736. package/src/custom/parse.ts +16 -3
  737. package/src/custom/problems.ts +9 -3
  738. package/src/custom/scope-field.ts +16 -0
  739. package/src/date-format.ts +43 -8
  740. package/src/derived/elapsed.ts +17 -2
  741. package/src/detectors/acronym-context.ts +7 -1
  742. package/src/detectors/acronym-gloss.ts +59 -11
  743. package/src/detectors/bare-comparative.ts +35 -3
  744. package/src/detectors/blank-structure.ts +18 -9
  745. package/src/detectors/bold-label.ts +7 -2
  746. package/src/detectors/bracket-title-date.ts +36 -0
  747. package/src/detectors/broken-link.ts +14 -1
  748. package/src/detectors/capitalised-term.ts +18 -4
  749. package/src/detectors/change-rate.ts +29 -4
  750. package/src/detectors/char-shape.ts +13 -17
  751. package/src/detectors/clause-shape.ts +8 -4
  752. package/src/detectors/contraction-mix.ts +8 -2
  753. package/src/detectors/contraction-set-apart.ts +22 -2
  754. package/src/detectors/coordinate-adjective.ts +54 -1
  755. package/src/detectors/count-per-section.ts +13 -8
  756. package/src/detectors/counter-edge.ts +20 -0
  757. package/src/detectors/cross-variant.ts +16 -2
  758. package/src/detectors/custom.ts +6 -4
  759. package/src/detectors/date-format.ts +1 -1
  760. package/src/detectors/date-repeated-day.ts +20 -0
  761. package/src/detectors/date-year.ts +8 -1
  762. package/src/detectors/defined-term-form.ts +6 -3
  763. package/src/detectors/definition-use.ts +7 -1
  764. package/src/detectors/derived-numbers.ts +1 -0
  765. package/src/detectors/document-shape.ts +4 -1
  766. package/src/detectors/email-letter.ts +6 -2
  767. package/src/detectors/empty-section.ts +10 -2
  768. package/src/detectors/en-shape.ts +17 -1
  769. package/src/detectors/enumeration-marker.ts +14 -0
  770. package/src/detectors/event-title-item.ts +57 -0
  771. package/src/detectors/example-baseline.ts +16 -1
  772. package/src/detectors/filler-word.ts +96 -0
  773. package/src/detectors/fullwidth-alnum.ts +24 -0
  774. package/src/detectors/heading-case.ts +7 -1
  775. package/src/detectors/heading-marker-no-space.ts +62 -0
  776. package/src/detectors/hyphen-name-suffix.ts +3 -2
  777. package/src/detectors/inline-item-label.ts +98 -0
  778. package/src/detectors/kanji-name-edge.ts +11 -0
  779. package/src/detectors/known-correction.ts +17 -1
  780. package/src/detectors/link-definition.ts +91 -0
  781. package/src/detectors/list-item-asides.ts +29 -0
  782. package/src/detectors/list-item.ts +7 -0
  783. package/src/detectors/list-items.ts +13 -2
  784. package/src/detectors/list-opening-conjunction.ts +22 -0
  785. package/src/detectors/list-parallel.ts +11 -15
  786. package/src/detectors/list-run.ts +16 -3
  787. package/src/detectors/list-verb-series.ts +24 -0
  788. package/src/detectors/mark-shape.ts +15 -19
  789. package/src/detectors/markdown-slip.ts +25 -1
  790. package/src/detectors/marked-word.ts +40 -0
  791. package/src/detectors/middle-dot.ts +27 -2
  792. package/src/detectors/missing-final-period.ts +9 -1
  793. package/src/detectors/name-variant-two-things.ts +37 -2
  794. package/src/detectors/net-amount-mismatch.ts +41 -4
  795. package/src/detectors/nominalization.ts +8 -1
  796. package/src/detectors/number-style.ts +8 -0
  797. package/src/detectors/ordinary-phrase.ts +13 -0
  798. package/src/detectors/organisation-run.ts +9 -0
  799. package/src/detectors/orthographic-variant-kanji-word.ts +33 -0
  800. package/src/detectors/orthographic-variant-open.ts +2 -1
  801. package/src/detectors/orthographic-variant-text.ts +20 -0
  802. package/src/detectors/orthographic-variant.ts +25 -32
  803. package/src/detectors/orthography.ts +18 -2
  804. package/src/detectors/oxford-comma.ts +14 -2
  805. package/src/detectors/paragraph-run.ts +7 -10
  806. package/src/detectors/placeholder-text.ts +22 -5
  807. package/src/detectors/placeholder.ts +10 -0
  808. package/src/detectors/pseudo-heading.ts +59 -0
  809. package/src/detectors/quote-around.ts +31 -6
  810. package/src/detectors/quoted-label.ts +22 -0
  811. package/src/detectors/ra-nuki.ts +3 -34
  812. package/src/detectors/register-required.ts +56 -0
  813. package/src/detectors/register-voice.ts +36 -1
  814. package/src/detectors/registry/enumeration-marker.ts +4 -0
  815. package/src/detectors/registry/filler-word.ts +4 -0
  816. package/src/detectors/registry/heading-marker-no-space.ts +4 -0
  817. package/src/detectors/registry/link-definition-unused.ts +4 -0
  818. package/src/detectors/registry/pseudo-heading.ts +4 -0
  819. package/src/detectors/registry/reversed-link.ts +4 -0
  820. package/src/detectors/registry/sa-ire.ts +4 -0
  821. package/src/detectors/registry/table-absorbed-line.ts +4 -0
  822. package/src/detectors/registry/term-consistency.ts +4 -0
  823. package/src/detectors/registry/term-form.ts +4 -0
  824. package/src/detectors/relative-pronoun-mix.ts +18 -3
  825. package/src/detectors/release-notes.ts +19 -0
  826. package/src/detectors/request-owner.ts +62 -2
  827. package/src/detectors/reversed-link.ts +39 -0
  828. package/src/detectors/sa-ire.ts +7 -0
  829. package/src/detectors/sentence-counts.ts +28 -9
  830. package/src/detectors/sentence-ending.ts +53 -12
  831. package/src/detectors/sentence-length.ts +16 -2
  832. package/src/detectors/sentence-rhythm.ts +6 -2
  833. package/src/detectors/signals.ts +2 -2
  834. package/src/detectors/structure.ts +4 -0
  835. package/src/detectors/technical-docs.ts +27 -3
  836. package/src/detectors/term-consistency.ts +41 -0
  837. package/src/detectors/term-form.ts +17 -0
  838. package/src/detectors/token-shape.ts +4 -1
  839. package/src/detectors/unbalanced-bracket.ts +4 -2
  840. package/src/detectors/unknown-word-context.ts +6 -0
  841. package/src/detectors/unknown-word.ts +7 -1
  842. package/src/detectors/vague-density.ts +10 -2
  843. package/src/detectors/version-mismatch.ts +7 -1
  844. package/src/detectors/weasel-word.ts +13 -2
  845. package/src/document-prose.ts +43 -0
  846. package/src/document-scope.ts +66 -0
  847. package/src/document.ts +43 -50
  848. package/src/enumeration-marks.ts +233 -0
  849. package/src/facts/cross-facts.ts +10 -4
  850. package/src/facts/labelled-facts.ts +7 -4
  851. package/src/file-header.ts +3 -5
  852. package/src/files.ts +87 -8
  853. package/src/gitignore.ts +83 -0
  854. package/src/grade/stamp.ts +5 -0
  855. package/src/latin-word-boundary.ts +12 -0
  856. package/src/markdown-node.ts +1 -0
  857. package/src/name-separator.ts +29 -7
  858. package/src/news-dateline.ts +29 -0
  859. package/src/plugin.ts +21 -3
  860. package/src/reasons.ts +8 -0
  861. package/src/render/explain.ts +26 -1
  862. package/src/render/rules-json.ts +16 -2
  863. package/src/render/summary.ts +33 -4
  864. package/src/render/suppressions.ts +101 -4
  865. package/src/rule-load.ts +3 -2
  866. package/src/run-in-title.ts +91 -0
  867. package/src/run.ts +21 -8
  868. package/src/scope-markers.ts +25 -0
  869. package/src/scope-problem-text.ts +21 -0
  870. package/src/scoped-sentences.ts +41 -0
  871. package/src/setting-problems.ts +4 -0
  872. package/src/spelling.ts +4 -4
  873. package/src/stet-body.ts +74 -0
  874. package/src/stet.ts +113 -32
  875. package/src/structure/alert-lines.ts +19 -0
  876. package/src/structure/catch-all-row-blank.ts +22 -0
  877. package/src/structure/change-rate-tied.ts +113 -0
  878. package/src/structure/cross-definitions.ts +6 -9
  879. package/src/structure/defining-names.ts +14 -1
  880. package/src/structure/net-amount.ts +44 -5
  881. package/src/structure/period-label-conflict.ts +22 -7
  882. package/src/structure/serial-range.ts +14 -6
  883. package/src/structure/version-mismatch.ts +41 -8
  884. package/src/structure/weekday.ts +14 -1
  885. package/src/table-cells.ts +2 -2
  886. package/src/term-form.ts +99 -0
  887. package/src/term-groups.ts +68 -0
  888. package/src/text-scope.ts +79 -0
  889. package/src/topic-clause.ts +96 -17
  890. package/src/unclosed-code-quote.ts +42 -0
@@ -56,8 +56,8 @@ example:
56
56
  Send the form by email. We answer every email within a day. Attach the receipt to the email.
57
57
 
58
58
  not_flagged:
59
- ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう、窓口の受付と行いの受け付け。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、二つの語に読める漢字の書き方(行っ は 行く とも 行う とも読み、「様を」の様は さま)、同じ読みのかなが別の語になる漢字の接尾語(日照山の山と お遍路さん、Ruby用の用と 言いよう)、語末の「ー」だけの違い(katakana-long-vowel が見ます)、鉤括弧や引用符の中(判決が法令を文をまたいで引く一重の引用符も)と、引用した句を地の文でそのまま繰り返した所、行の頭のリンクで引いた外のページの題名、語の直後のふりがなの括弧の中(HTTP(えいちてぃーてぃーぴー))、会社の名前(青葉硝子㈱、株式会社の前後の名前)、施設や組織の名前(こども動物園、〜センター)、番号を付けて引いた法令の題名(愛がん動物用飼料の安全性の確保に関する法律(平成20年法律第83号))、引用のすぐ後ろの括弧の書き下し(「天子有道」(天子に道有らば))、文献一覧と文の形で書いた文献の引用、略語の元の語(Communication Access Realtime Translation (CART))、#を付けたハッシュタグ、chaff.yaml の names に書いた名前は見ません。「でもって」(以て)、「と」の後の「いたす」(議題といたします)、複合動詞の後ろの動詞(貼り付ける の 付ける)は、それだけの動詞(持つ、思いを致す、つける)と別に比べます。一語の副詞や語(ただいま、昨日来)、熟語の頭の一字の漢字(曇雨天の曇)、切られたカタカナの名前(ラオカイ のカイ)も比べません。決まった言い方(〜ばよかった、よかったら)は、形容詞の「良い」と別に比べます。「方」と「ほう」は「が」「で」の前(早いほうが)だけで比べ、人の「方」の多い所(担当の方に)は比べません。文の頭の丸括弧の印(問答の(答))、別の書き方を言う文の丸括弧の中((くもり)、(曇)とも書く。)、漢数字(三十の三)、代名詞に続けたかな(私みたような)、切られた送りがな(誂らえる)も比べません。かなの「たつ」は、時がたつにも立つにも読めるので「立つ」と比べません。複合動詞の頭(出来上る)、文の頭の接続詞(――もっとも)、意味を変えるカタカナ(品物のモノ、断る言葉のイヤ)は、それだけの語(できる、最も、もの)と別に比べます。名詞と「や」「と」で並べた語(物やサービス)は、形式名詞(延長するもの)と別に比べます。接続詞の「さらに、」と副詞の「更に」は同じ語として比べます。法務のジャンルでは、判決の裁判官ごとの意見(裁判官甲の反対意見は次のとおりである。)を、その意見の中だけで比べます。名詞に続けて書いたかなの名詞(全員ぶん)と慣用句の動詞(気をつける)、見立ての「みる」(〜とみられる、増加がみられる)と評価を言う「いえる」(〜とはいえない)は、同じ読みの語(文、名札を付ける、資料を見る)と別に比べます。英字は、頭の字の大文字小文字(Email と email)と、大文字だけの語(強調や略語)、大文字の名前に語尾が付いた語(関数名の SENDs)、名簿の大文字の名字(MICHAEL T. McCAUL)、同じ文の略語の字を示した語(CLIPER と並ぶ CLImatology)、大文字で書いた一節の中の語(免責の段落の eGAIN)、大文字で始まる語でないかけらをハイフンでつないだ名前(medical と並ぶ Medi-Cal)、大文字で始まる語を並べた名前の中のハイフン(inter-agency と並ぶ the Interagency Group、括弧に入れた題 Module Three (Processor to Sub-Processor))を書き方の違いにしません(HBase のような名前の大文字は比べます)。英字の語は見出しの中も本文と合わせて比べますが、日本語の見出しの語は比べません(見出しは送り仮名を省いた札の言葉(申込受付期間)や、本文の店の名前(大坊珈琲店)と並ぶ分類の語(コーヒー)になりやすいため)。少ないほうが三分の一を超えるときも言いません。文学のジャンルでは既定で止めています(その時代の書き方のため)。
60
- en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, nor the desk 受付 with the act 受け付け, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), nor a label opening a sentence (the (答) of a Q&A), a bracketed spelling in a sentence that names other spellings ((くもり)、(曇)とも書く), kana たつ beside 立つ, since たつ is also time passing (経つ), a numeral (the 三 of 三十), kana written onto a pronoun (私みたような) or okurigana cut off a word (誂らえる); the head of a compound verb (出来上る), an adverb opening a sentence as a conjunction (――もっとも) and a katakana spelling that names a sense (モノ for goods, イヤ as the word a child says to refuse) are compared apart from the word on its own (できる, 最も, もの), and a noun joined to another by や or と (物やサービス) apart from the dependent noun (延長するもの), while the conjunction さらに、 and the adverb 更に are one word and are compared; the set phrases 〜ばよかった (if only I had) and よかったら (if you like) are compared apart from the adjective 良い; in the legal genres each justice's separate opinion (裁判官甲の反対意見は次のとおりである。) is compared only within itself; the judging みる (〜とみられる) and いえる (〜とはいえない) are compared apart from looking and saying (資料を見る, 一概には言えない), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks (single ones too, as an opinion quotes a statute over several sentences) and a phrase the writer repeats word for word from a quotation in the document, the title of an outside page quoted by a link at a line's head, an entry of a reference list and a citation written as a sentence (See Kay and King (2020), Radical Uncertainty …), the words an acronym stands for (Communication Access Realtime Translation (CART), VADER (Valence Aware Dictionary and sEntiment Reasoner)), a hashtag (#vimconf), a surname a roster sets in capitals (MICHAEL T. McCAUL), the hyphens of a capitalised name where the word is otherwise written with or without them (the Interagency Group beside inter-agency; a title in brackets, Module Three (Processor to Sub-Processor)), a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. A heading's Latin words are compared with the body's (an e-mail in a heading among email in the text); its Japanese words are not, since a Japanese heading is a label that drops okurigana (申込受付期間) or a category word (コーヒー) beside names in the body (大坊珈琲店). Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time. Nor is a kanji spelling that reads as two words (行っ, read as 行く or 行う; 様 before を, read さま) compared with the kana of the reading the tokenizer picked. Nor is a kanji suffix whose kana reading is another word (the 山 of a temple name, 日照山, beside the honorific さん; the 用 of Ruby用 beside the よう of 言いよう).
59
+ ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう、窓口の受付と行いの受け付け。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、漢字だけで書いた複合語の頭と、漢字の間に送り仮名を付けたほかの複合語の書き方(申込締切・申込書 と 申し込み画面。送り仮名を語末だけに付けた 取扱い方法 と 事務取扱担当者、同じ複合語の 申込方法 と 申し込み方法、それだけの語も漢字だけで書く文書の 申出 と 申し出期限 は比べます)、二つの語に読める漢字の書き方(行っ は 行く とも 行う とも読み、「様を」の様は さま)、同じ読みのかなが別の語になる漢字の接尾語(日照山の山と お遍路さん、Ruby用の用と 言いよう)、語末の「ー」だけの違い(katakana-long-vowel が見ます)、鉤括弧や引用符の中(判決が法令を文をまたいで引く一重の引用符も)と、引用した句を地の文でそのまま繰り返した所、行の頭のリンクで引いた外のページの題名(リンクを外して写した紹介記事の一覧の、媒体の名前を括弧に入れた題名(〜について(市の公式ブログ) 〜を紹介しています。)も)、語の直後のふりがなの括弧の中(HTTP(えいちてぃーてぃーぴー))、会社の名前(青葉硝子㈱、株式会社の前後の名前)、施設や組織の名前(こども動物園、〜センター)、番号を付けて引いた法令の題名(愛がん動物用飼料の安全性の確保に関する法律(平成20年法律第83号))、引用のすぐ後ろの括弧の書き下し(「天子有道」(天子に道有らば))、文献一覧と文の形で書いた文献の引用、略語の元の語(Communication Access Realtime Translation (CART))、#を付けたハッシュタグ、chaff.yaml の names に書いた名前は見ません。「でもって」(以て)、「と」の後の「いたす」(議題といたします)、複合動詞の後ろの動詞(貼り付ける の 付ける)は、それだけの動詞(持つ、思いを致す、つける)と別に比べます。一語の副詞や語(ただいま、昨日来)、熟語の頭の一字の漢字(曇雨天の曇)、切られたカタカナの名前(ラオカイ のカイ)も比べません。決まった言い方(〜ばよかった、よかったら)は、形容詞の「良い」と別に比べます。「方」と「ほう」は「が」「で」の前(早いほうが)だけで比べ、人の「方」の多い所(担当の方に)と、人がいる・いないを言う「方が」(手伝える方がいない)は比べません。文の頭の丸括弧の印(問答の(答))、別の書き方を言う文の丸括弧の中((くもり)、(曇)とも書く。)、漢数字(三十の三)、代名詞に続けたかな(私みたような)、切られた送りがな(誂らえる)、接尾語の前で名詞に読んだかなの動詞(つきたて の つき)と、漢字で終わる同じ読みの名詞(月)も比べません(送りがなの付いた 焼きたて と やきたて は比べます)。かなの「たつ」は、時がたつにも立つにも読めるので「立つ」と比べません。複合動詞の頭(出来上る)、文の頭の接続詞(――もっとも)、意味を変えるカタカナ(品物のモノ、断る言葉のイヤ)は、それだけの語(できる、最も、もの)と別に比べます。名詞と「や」「と」で並べた語(物やサービス)は、形式名詞(延長するもの)と別に比べます。接続詞の「さらに、」と副詞の「更に」は同じ語として比べます。法務のジャンルでは、判決の裁判官ごとの意見(裁判官甲の反対意見は次のとおりである。)を、その意見の中だけで比べます。名詞に続けて書いたかなの名詞(全員ぶん)と慣用句の動詞(気をつける)、見立ての「みる」(〜とみられる、増加がみられる)と評価を言う「いえる」(〜とはいえない)は、同じ読みの語(文、名札を付ける、資料を見る)と別に比べます。英字は、頭の字の大文字小文字(Email と email)と、大文字だけの語(強調や略語)、大文字の名前に語尾が付いた語(関数名の SENDs)、名簿の大文字の名字(MICHAEL T. McCAUL)、同じ文の略語の字を示した語(CLIPER と並ぶ CLImatology)、大文字で書いた一節の中の語(免責の段落の eGAIN)、大文字で始まる語でないかけらをハイフンでつないだ名前(medical と並ぶ Medi-Cal)、大文字で始まる語を並べた名前の中のハイフン(inter-agency と並ぶ the Interagency Group、括弧に入れた題 Module Three (Processor to Sub-Processor))を書き方の違いにしません(HBase のような名前の大文字は比べます)。英字の語は見出しの中も本文と合わせて比べますが、日本語の見出しの語は比べません(見出しは送り仮名を省いた札の言葉(申込受付期間)や、本文の店の名前(大坊珈琲店)と並ぶ分類の語(コーヒー)になりやすいため)。少ないほうが三分の一を超えるときも言いません。文学のジャンルでは既定で止めています(その時代の書き方のため)。
60
+ en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, nor the desk 受付 with the act 受け付け, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), as it is before が and a verb of being there (手伝える方がいない), nor a label opening a sentence (the (答) of a Q&A), a bracketed spelling in a sentence that names other spellings ((くもり)、(曇)とも書く), kana たつ beside 立つ, since たつ is also time passing (経つ), a numeral (the 三 of 三十), kana written onto a pronoun (私みたような) or okurigana cut off a word (誂らえる), nor a verb's stem in kana read as a noun before a suffix (the つき of つきたて) beside a noun of the same sound that ends in its kanji (月), while 焼きたて and やきたて are compared; the head of a compound verb (出来上る), an adverb opening a sentence as a conjunction (――もっとも) and a katakana spelling that names a sense (モノ for goods, イヤ as the word a child says to refuse) are compared apart from the word on its own (できる, 最も, もの), and a noun joined to another by や or と (物やサービス) apart from the dependent noun (延長するもの), while the conjunction さらに、 and the adverb 更に are one word and are compared; the set phrases 〜ばよかった (if only I had) and よかったら (if you like) are compared apart from the adjective 良い; in the legal genres each justice's separate opinion (裁判官甲の反対意見は次のとおりである。) is compared only within itself; the judging みる (〜とみられる) and いえる (〜とはいえない) are compared apart from looking and saying (資料を見る, 一概には言えない), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Nor is the head of a compound written in kanji alone (the 申込 of 申込締切 or 申込書) compared with another compound that keeps okurigana between the kanji (申し込み画面); it is compared where the okurigana is only at the end (取扱い方法 beside 事務取扱担当者), where the same compound is written both ways (申込方法 and 申し込み方法), and where the document writes the word on its own in kanji alone too (申出 beside 申し出期限). Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks (single ones too, as an opinion quotes a statute over several sentences) and a phrase the writer repeats word for word from a quotation in the document, the title of an outside page quoted by a link at a line's head (or copied without its link into a list of articles, with the medium's name in brackets before the blurb), an entry of a reference list and a citation written as a sentence (See Kay and King (2020), Radical Uncertainty …), the words an acronym stands for (Communication Access Realtime Translation (CART), VADER (Valence Aware Dictionary and sEntiment Reasoner)), a hashtag (#vimconf), a surname a roster sets in capitals (MICHAEL T. McCAUL), the hyphens of a capitalised name where the word is otherwise written with or without them (the Interagency Group beside inter-agency; a title in brackets, Module Three (Processor to Sub-Processor)), a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. A heading's Latin words are compared with the body's (an e-mail in a heading among email in the text); its Japanese words are not, since a Japanese heading is a label that drops okurigana (申込受付期間) or a category word (コーヒー) beside names in the body (大坊珈琲店). Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time. Nor is a kanji spelling that reads as two words (行っ, read as 行く or 行う; 様 before を, read さま) compared with the kana of the reading the tokenizer picked. Nor is a kanji suffix whose kana reading is another word (the 山 of a temple name, 日照山, beside the honorific さん; the 用 of Ruby用 beside the よう of 言いよう).
61
61
  level_meaning:
62
62
  ja: 少ないほうが語の {limit}% 以下のとき指摘
63
63
  en: reported when the minority spelling is {limit}% of the word's uses or less
@@ -53,8 +53,8 @@ example:
53
53
  We sell apples, pears, and plums. We ship to homes, offices, and schools. We accept cash, cards, and vouchers.
54
54
 
55
55
  not_flagged:
56
- ja: カンマを打つかどうかは決めません。半々に分かれた文書では、どちらが少ないとも言えないので指しません。郵便番号で終わる住所のあとの and / or(Leeds LS1 4AB, or email)は、住所の読点のあとなので並びとして数えません。最後の読点のあとに前後を空けたダッシュがある and / or(Washington, DC – The Cybersecurity and Infrastructure Security Agency)も、読点はダッシュの前の日付行のものなので数えません。読点のあとの否定(more correct, not cleaner or more elegant)と、順番の語で始まる導入(First, outside a block, …)も並びではありません。主語と述語のあいだに読点で挟んだ例の句(X, such as Y, are excluded and are not…)も並びの項目に数えません。and / or の直前で読点に挟まれ、中に and / or を持つ例の句(gases, such as ozone and carbon dioxide, and the amount)のあとの読点は、句を閉じる読点なので数えません。番号を付けた法典の区分のあとの名前(Title 44, Public Printing and Documents)と、前の項目を限定する句(any other agency or office, in accordance with law or as directed)の中の and / or も数えません。but で始まる節(If you need help, but it’s not a priority, add it and bring it up)、文頭のつなぎの語(However,)、不定冠詞と形容詞だけの語(A simple, minimalist palette / Neat, a flexible and lightweight grid)、目的語を後ろに残した前置詞(impose conditions upon, certain transfers / on or before May 1)は並びの項目ではありません。並びがその先も続くなら(and so forth まで続く並びも)、途中の項目の中の and / or は最後の継ぎ目ではありません(counseling and financial literacy, commercial conversions, and support)。読点なしで同じ接続詞を重ねた並び(questions and issues and use cases)と、省略の印(... や * * *)を含む引用の中の並びも数えません。動詞と目的語のあいだに読点で挟んだ前置詞の句(received, at its most recent examination, a rating)は並びの項目ではなく、並びの前置詞を最後の項目で言い直したもの(at A, B, C and D campgrounds, and at E)は同じ並びの続きです。題名を文の書き方で並べた所(The bridge witch, The law of finance and regulation, …)の、小文字の語が続く and / or は題名の中のものです。By と名前で始まる署名の行(By Jane Moss, Head of Arts, Crafts, Music and Drama, Culture Office)の、大文字の語を結ぶ and / or は役職の名前の中のものです。名前のすぐ後ろで読点に挟まれた関係節(Tom, who repaired radios for forty years, opened the back and found a wire)は名前に添えた節で、名前も節も並びの項目ではありません。
57
- en: Whether to use the comma is not decided. A document split evenly has no minority and is not reported. An and / or right after a postal address closed by its postcode ("Leeds LS1 4AB, or email us") follows the address's commas and is not counted as a list, and neither is one after a spaced dash that follows the last comma (a dateline such as "Washington, DC – The Cybersecurity and Infrastructure Security Agency"). Nor is a contrast after a comma ("more correct, not cleaner or more elegant") or an introduction opened by a sequence word ("First, outside a block, …"), and an example phrase set off by commas between a subject and its predicate ("X, such as Y, are excluded and are not…") is not counted as an item. A comma that closes an example phrase holding its own and / or just before the and ("gases, such as ozone and carbon dioxide, and the amount") closes the aside and is not counted. Nor is an and / or inside the name after a numbered division of a code ("Title 44, Public Printing and Documents") or inside a phrase that qualifies the item before it ("any other agency or office, in accordance with law or as directed"). A clause opened by but ("If you need help, but it’s not a priority, add it and bring it up"), a word tying the sentence to the last one ("However,"), an indefinite article with only adjectives ("A simple, minimalist palette" / "Neat, a flexible and lightweight grid") and a preposition left waiting for its object ("impose conditions upon, certain transfers" / "on or before May 1") are not items. When the list goes on past an and / or, including to "and so forth", that and / or is inside an item, not the last joint ("counseling and financial literacy, commercial conversions, and support"). A run that repeats the conjunction without commas ("questions and issues and use cases") and a list inside a quotation that marks an omission (... or * * *) are not counted either. A prepositional phrase set off by commas between a verb and its object ("received, at its most recent examination, a rating") is not an item, a last item that repeats the list's preposition ("at A, B, C and D campgrounds, and at E") continues the same list, and in a list of titles written in sentence case ("The bridge witch, The law of finance and regulation, …") an and / or followed by a lower-case word belongs to a title. In a byline ("By Jane Moss, Head of Arts, Crafts, Music and Drama, Culture Office"), an and / or between capitalised words belongs to the name of the office. A relative clause set off by commas right after a name ("Tom, who repaired radios for forty years, opened the back and found a wire") says more about the name, and neither the name nor the clause is an item.
56
+ ja: カンマを打つかどうかは決めません。半々に分かれた文書では、どちらが少ないとも言えないので指しません。郵便番号で終わる住所のあとの and / or(Leeds LS1 4AB, or email)は、住所の読点のあとなので並びとして数えません。最後の読点のあとに前後を空けたダッシュがある and / or(Washington, DC – The Cybersecurity and Infrastructure Security Agency)も、読点はダッシュの前の日付行のものなので数えません。読点のあとの否定(more correct, not cleaner or more elegant)と、順番の語で始まる導入(First, outside a block, …)も並びではありません。主語と述語のあいだに読点で挟んだ例の句(X, such as Y, are excluded and are not…)も並びの項目に数えません。and / or の直前で読点に挟まれ、中に and / or を持つ例の句(gases, such as ozone and carbon dioxide, and the amount)のあとの読点は、句を閉じる読点なので数えません。番号を付けた法典の区分のあとの名前(Title 44, Public Printing and Documents)と、前の項目を限定する句(any other agency or office, in accordance with law or as directed)の中の and / or も数えません。but で始まる節(If you need help, but it’s not a priority, add it and bring it up)、文頭のつなぎの語(However,)、不定冠詞と形容詞だけの語(A simple, minimalist palette / Neat, a flexible and lightweight grid)、目的語を後ろに残した前置詞(impose conditions upon, certain transfers / on or before May 1)は並びの項目ではありません。並びがその先も続くなら(and so forth まで続く並びも)、途中の項目の中の and / or は最後の継ぎ目ではありません(counseling and financial literacy, commercial conversions, and support)。読点なしで同じ接続詞を重ねた並び(questions and issues and use cases)と、省略の印(... や * * *)を含む引用の中の並びも数えません。動詞と目的語のあいだに読点で挟んだ前置詞の句(received, at its most recent examination, a rating)は並びの項目ではなく、並びの前置詞を最後の項目で言い直したもの(at A, B, C and D campgrounds, and at E)は同じ並びの続きです。題名を文の書き方で並べた所(The bridge witch, The law of finance and regulation, …)の、小文字の語が続く and / or は題名の中のものです。By と名前で始まる署名の行(By Jane Moss, Head of Arts, Crafts, Music and Drama, Culture Office)の、大文字の語を結ぶ and / or は役職の名前の中のものです。名前のすぐ後ろで読点に挟まれた関係節(Tom, who repaired radios for forty years, opened the back and found a wire)は名前に添えた節で、名前も節も並びの項目ではありません。文頭の And や But の後ろの導入の節(And if you have questions about any of this, come in and ask)も、並びの項目ではありません。
57
+ en: Whether to use the comma is not decided. A document split evenly has no minority and is not reported. An and / or right after a postal address closed by its postcode ("Leeds LS1 4AB, or email us") follows the address's commas and is not counted as a list, and neither is one after a spaced dash that follows the last comma (a dateline such as "Washington, DC – The Cybersecurity and Infrastructure Security Agency"). Nor is a contrast after a comma ("more correct, not cleaner or more elegant") or an introduction opened by a sequence word ("First, outside a block, …"), and an example phrase set off by commas between a subject and its predicate ("X, such as Y, are excluded and are not…") is not counted as an item. A comma that closes an example phrase holding its own and / or just before the and ("gases, such as ozone and carbon dioxide, and the amount") closes the aside and is not counted. Nor is an and / or inside the name after a numbered division of a code ("Title 44, Public Printing and Documents") or inside a phrase that qualifies the item before it ("any other agency or office, in accordance with law or as directed"). A clause opened by but ("If you need help, but it’s not a priority, add it and bring it up"), a word tying the sentence to the last one ("However,"), an indefinite article with only adjectives ("A simple, minimalist palette" / "Neat, a flexible and lightweight grid") and a preposition left waiting for its object ("impose conditions upon, certain transfers" / "on or before May 1") are not items. When the list goes on past an and / or, including to "and so forth", that and / or is inside an item, not the last joint ("counseling and financial literacy, commercial conversions, and support"). A run that repeats the conjunction without commas ("questions and issues and use cases") and a list inside a quotation that marks an omission (... or * * *) are not counted either. A prepositional phrase set off by commas between a verb and its object ("received, at its most recent examination, a rating") is not an item, a last item that repeats the list's preposition ("at A, B, C and D campgrounds, and at E") continues the same list, and in a list of titles written in sentence case ("The bridge witch, The law of finance and regulation, …") an and / or followed by a lower-case word belongs to a title. In a byline ("By Jane Moss, Head of Arts, Crafts, Music and Drama, Culture Office"), an and / or between capitalised words belongs to the name of the office. A relative clause set off by commas right after a name ("Tom, who repaired radios for forty years, opened the back and found a wire") says more about the name, and neither the name nor the clause is an item. Nor is an introductory clause after a sentence-opening "And" or "But" ("And if you have questions about any of this, come in and ask").
58
58
  level_meaning:
59
59
  ja: 少ないほうの打ち方が {limit} 箇所以下のとき指摘
60
60
  en: reported when the minority style appears {limit} {limit|time|times} or fewer
@@ -15,8 +15,8 @@ name:
15
15
  en: A period other than the one the title reports
16
16
 
17
17
  why:
18
- ja: 「2027年3月期 第2四半期決算短信」の表の見出しが「当第3四半期累計」だと、読み手はどちらの期間の数字なのかを問い合わせることになります。前の期の文書を写して直し忘れたとき、四半期ごとに使い回す表の見出しを直し忘れたときに起きます。題(最初の行)が「決算」「業績」の語と一緒に書いた期間(第2四半期、2027年3月期、上半期、FY2026)を文書の期間とし、題に無い種類は頭の「対象期間:」の一行から補います。その後ろの今の業績を言う所、つまり表の見出しの升と、「当期」「当第」「業績」のある文と見出しに、同じ種類の別の期間があれば指します。前年同期、前期、前年同四半期、予想、見通し、次期のような比べる相手や先の期間の語がその升、文、節の見出しにあれば比べません。文書の期間と一緒に書いた期間(| 2025年3月期 | 2026年3月期 |)も比べる相手として読みます。源泉徴収の明細書のように、題が「令和8年分」「2026年分」と年を言う文書は、決算の文書でなくても読み、本文のどこかに「2025年分」と別の年分があれば指します。元号の年は西暦にして比べるので、令和8年分と2026年分は同じ年です。
19
- en: 'When a release titled "Second Quarter Results" heads its table "Q3 FY2027", the reader has to ask which period the figures are for. It happens when last period''s release is copied and one label is not updated, or when a table reused every quarter keeps its old heading. The period the title (the first line) names together with a results word ("Results", "Earnings") is the document''s period: a quarter, a half or a fiscal year (Q2, first half, FY2026, fiscal year ending March 31, 2027). A kind the title does not name is taken from a "Reporting period:" line at the top. After that, a period of the same kind that differs is reported where the text speaks of the current results: in a table heading cell, and in a sentence or heading with "results" or "this quarter". A cell, sentence or section heading with a word for a comparison or a later period ("prior year", "a year earlier", "compared with", "forecast", "outlook") is not compared, and neither is a period written next to the document''s own (| FY2025 | FY2026 |). A document whose title names its year with a marker ("Tax Year 2026", "the 2026 tax year"), such as an annual tax statement, is read even when it is not a results release, and a year with the same marker that differs anywhere in the body ("tax year 2025") is reported.'
18
+ ja: 「2027年3月期 第2四半期決算短信」の表の見出しが「当第3四半期累計」だと、読み手はどちらの期間の数字なのかを問い合わせることになります。前の期の文書を写して直し忘れたとき、四半期ごとに使い回す表の見出しを直し忘れたときに起きます。題(最初の行)が「決算」「業績」の語と一緒に書いた期間(第2四半期、2027年3月期、上半期、FY2026)を文書の期間とし、題に無い種類は頭の「対象期間:」の一行から補います。その後ろの今の業績を言う所、つまり表の見出しの升と、「当期」「当第」「業績」のある文と見出しに、同じ種類の別の期間があれば指します。前年同期、前期、前年同四半期、予想、見通し、次期のような比べる相手や先の期間の語がその升、文、節の見出しにあれば比べません。文書の期間と一緒に書いた期間(| 2025年3月期 | 2026年3月期 |)も比べる相手として読みます。ただし表の升で別の年と一緒に書いた四半期や半期(| 2026年3月期 第2四半期 |)は前の年のもので、隣の升の違う四半期を文書の期間と並べたとは読みません。源泉徴収の明細書のように、題が「令和8年分」「2026年分」と年を言う文書は、決算の文書でなくても読み、本文のどこかに「2025年分」と別の年分があれば指します。元号の年は西暦にして比べるので、令和8年分と2026年分は同じ年です。
19
+ en: 'When a release titled "Second Quarter Results" heads its table "Q3 FY2027", the reader has to ask which period the figures are for. It happens when last period''s release is copied and one label is not updated, or when a table reused every quarter keeps its old heading. The period the title (the first line) names together with a results word ("Results", "Earnings") is the document''s period: a quarter, a half or a fiscal year (Q2, first half, FY2026, fiscal year ending March 31, 2027). A kind the title does not name is taken from a "Reporting period:" line at the top. After that, a period of the same kind that differs is reported where the text speaks of the current results: in a table heading cell, and in a sentence or heading with "results" or "this quarter". A cell, sentence or section heading with a word for a comparison or a later period ("prior year", "a year earlier", "compared with", "forecast", "outlook") is not compared, and neither is a period written next to the document''s own (| FY2025 | FY2026 |). A quarter or half written with another year in a table cell (| Q2 FY2026 |) is that year''s, so it does not make another quarter in the next cell a comparison. A document whose title names its year with a marker ("Tax Year 2026", "the 2026 tax year"), such as an annual tax statement, is read even when it is not a results release, and a year with the same marker that differs anywhere in the body ("tax year 2025") is reported.'
20
20
 
21
21
  message:
22
22
  ja: 「{label}」は、題の期間「{stated}」と違います
@@ -81,8 +81,8 @@ example:
81
81
  The number of stores has doubled in ten years, but suburban stores have struggled to grow.
82
82
 
83
83
  not_flagged:
84
- ja: 表題より下の見出しが一つもない文書は測りません。法務やブログのジャンルと、手紙・メールでは見ません。本文の語に付けた注(※1 …)の段落は、前置きではなく注なので数えません。見出しが末尾の問い合わせ先や参考文献のような前後の見出しだけの文書(手紙の形の諮問)も、本題の見出しが無いので測りません。
85
- en: A document with no heading below its title is not measured. Legal and blog genres, and letters and emails, do not run this rule. A note attached to a word of the text (a paragraph opened by a note mark of the note-mark lexicon, as in Japanese ※1) is a note, not preamble, and is not counted. Nor is a document whose only headings are front or back matter, such as a contact box at its end (a request written as a letter), since it has no body heading.
84
+ ja: 表題より下の見出しが一つもない文書は測りません。法務やブログのジャンルと、手紙・メールでは見ません。本文の語に付けた注(※1 …)の段落は、前置きではなく注なので数えません。見出しが末尾の問い合わせ先や参考文献のような前後の見出しだけの文書(手紙の形の諮問)や、要項を「記」の下に並べる案内の手紙も、本題の見出しが無いので測りません。最初の段落が報道の日付行(AUSTIN, Texas — November 24, 2026 —)で始まる報道発表は、リードで全体を語る形なので測りません。
85
+ en: A document with no heading below its title is not measured. Legal and blog genres, and letters and emails, do not run this rule. A note attached to a word of the text (a paragraph opened by a note mark of the note-mark lexicon, as in Japanese ※1) is a note, not preamble, and is not counted. Nor is a document whose only headings are front or back matter, such as a contact box at its end (a request written as a letter) or the 記 that a Japanese notice letter sets its particulars under, since it has no body heading. Nor is a press release whose first paragraph opens with a dateline (AUSTIN, Texas — November 24, 2026 —), since its lead tells the whole story before any heading, by design.
86
86
  level_meaning:
87
87
  ja: 最初の見出しまで {limit} 段落まで
88
88
  en: up to {limit} {limit|paragraph|paragraphs} before the first heading
@@ -0,0 +1,79 @@
1
+ id: pseudo-heading
2
+ layer: L1
3
+ status: stable
4
+ how_to_find: pseudo-heading
5
+ requires: [markdown]
6
+ severity: info
7
+
8
+ name:
9
+ ja: 太字の一行を見出しの代わりにしている
10
+ en: A bold line used as a heading
11
+
12
+ why:
13
+ ja: 見出しで節を分けている文書の中で、「**次の手順**」のような太字の一行を見出しの代わりに置く形です。画面では見出しのように見えても、Markdown にとってはただの段落なので、目次にも画面読み上げにも載らず、見出しへのリンクも張れません。必要な節や目次との食い違いを確かめる検査も、この節を見ません。生成文やチャットから貼った文書によく見られます(markdownlint の MD036)。
14
+ en: 'In a document whose sections have headings, a bold line on its own ("**Next steps**") stands where a heading would. It looks like a heading on screen, but Markdown reads it as a plain paragraph: it is missing from the table of contents and from what a screen reader announces, no link can point at it, and the checks for required sections and for the table of contents do not see the section. Generated text and documents pasted from a chat do this often (markdownlint''s MD036).'
15
+
16
+ message:
17
+ ja: 太字の行「{heading}」が見出しの代わりに置かれています
18
+ en: 'The bold line "{heading}" stands in for a heading'
19
+
20
+ how_to_fix:
21
+ ja: 見出しにしてください(「**次の手順**」を、前の見出しより一段深い「### 次の手順」に)。見出しにするほどの区切りでなければ、太字を外して本文の一文にします。
22
+ en: 'Make it a heading ("**Next steps**" becomes "### Next steps", one level below the heading above it). If it is not a section of its own, drop the bold and write it into the text.'
23
+
24
+ levels: { strict: warning, normal: info, relaxed: info }
25
+
26
+ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
27
+
28
+ group: structure
29
+ summary:
30
+ ja: 見出しで節を分けた文書の中で、見出しの代わりに置いた太字の一行
31
+ en: A bold line standing in for a heading in a document that uses headings
32
+
33
+ example:
34
+ ja:
35
+ before: |
36
+ # 引っ越しの手順
37
+
38
+ ## 一か月前
39
+
40
+ 転出届を出します。
41
+
42
+ **一週間前**
43
+
44
+ 荷物を箱に詰めます。
45
+ after: |
46
+ # 引っ越しの手順
47
+
48
+ ## 一か月前
49
+
50
+ 転出届を出します。
51
+
52
+ ## 一週間前
53
+
54
+ 荷物を箱に詰めます。
55
+ en:
56
+ before: |
57
+ # Moving house
58
+
59
+ ## A month before
60
+
61
+ Tell the council you are leaving.
62
+
63
+ **A week before**
64
+
65
+ Pack your things into boxes.
66
+ after: |
67
+ # Moving house
68
+
69
+ ## A month before
70
+
71
+ Tell the council you are leaving.
72
+
73
+ ## A week before
74
+
75
+ Pack your things into boxes.
76
+
77
+ not_flagged:
78
+ ja: "見出しが一つも無い文書と、題(文書の頭の「#」一つ)の他に見出しが無い文書は見ません。題のすぐ下で最初の見出しより前に置いた太字の行(「**報道関係者各位**」や会社名、日付)も見ません。句読点やコロンで終わる太字(「**参考:**」「**ご注意ください。**」)、中にコロンのある欄と値(「**評価: 5 点中 4 点**」)、太字の後ろに同じ段落で文が続くもの(太字の札は bold-label-list が見ます)、箇条書き・表・引用の中の太字、太字のリンクやコードだけの行、長い太字の文(強調のための一文)、すぐ後ろが見出しか文書の終わりで本文の無い太字の行も指しません。"
79
+ en: 'A document with no headings, or with only its title (the one "#" it opens with), is not checked, nor is a bold line under the title before the first section heading ("**FOR IMMEDIATE RELEASE**", a company name, a date). A bold line ending in punctuation or a colon ("**Note:**", "**Read this first.**"), a field and its value ("**Rating: 4 out of 5**"), bold followed by more text in the same paragraph (bold labels are bold-label-list''s), bold inside a list, a table or a quotation, a bold link or code alone, a long bold sentence set for emphasis, and a bold line followed by a heading or by the end of the document, with no text under it, are not reported either.'
@@ -57,5 +57,5 @@ example:
57
57
  As one engineer put it, "adding people to a late project only makes it later" ([source](https://example.com/essay)). Before adding people, ask whether the work can be split.
58
58
 
59
59
  not_flagged:
60
- ja: 短い鉤括弧(「保存」ボタン、「出典」という語)は語や名前を引いたもので、人の言葉ではないので見ません。誰かに帰する言い回しが引用のすぐ後ろ(「…」と述べた)か少し前(によれば「…」)に無い引用は、書き手自身の言葉か、題名や言い換えなので見ません。「…」と述べる方が適切です、「…」と書くべきです、のように言い方を勧める続きは、人の言葉を引いていないので見ません(続きの一覧は語彙表 quote-advice にあります)。引用の前に誰かに帰する言い回しがあれば(山田氏によれば「…」と言う方が適切だ)、勧めでも人の言葉として見ます。同じ文で引用より前に「たとえば」がある例(たとえば「…」と書いて送る)、閉じ括弧のすぐ後ろが「と言われて、」「と言われても」「と言われた」のように言われる側の言い方の引用(書き手が人から受けた言葉)、空白の無い英語の一語("core_claim_false")、英語で物に書かれた言葉(a sign that said "…")も、人の言葉を引いていないので見ません(語彙表 quote-not-attribution)。同じ段落か、空行をはさまずに続く行にリンク、URL、脚注([^1])、番号の引用([3])、括弧の中の年((1975)、(1999年))があれば、出典を書いたと見ます。「— 名前」の行が無い `>` の引用は、誰の言葉かを示していないので見ません。「— 名前、書名(1975)」のように名前の行に年やリンクがあれば、出典を書いたと見ます。出典が正しいかは見ません。それは `chaff cite` が照らします。記事(ブログ、エッセイ)と論文で見ます。組織の記事は取材した人の言葉を、プレスリリースや報告書は自分たちの言葉や題名で示した文書を引くので、手順書、仕様、契約や法令、小説、話し言葉とあわせて既定で止めています。
61
- en: 'A short quotation (the "Save" button, the word "source") names a word or a thing, not someone''s words, and is not read. A quotation with no such words right after it or shortly before it is the writer''s own words, a title or a paraphrase. In Japanese, words right after the quotation that suggest a wording rather than quote it (「…」と述べる方が適切です) are not read either, unless a word before the quotation gives it to someone; the word list quote-advice holds them. English has no such list yet. Nor are words made up as an example (For instance, a user says "…"), words written on a thing (a sign that said "…"), or a quotation of one word with no space ("core_claim_false"); the word list quote-not-attribution holds these shapes. A link, a URL, a footnote ([^1]), a numbered citation ([3]) or a year in brackets ((1975)) in the same paragraph, or on a line written right next to it with no blank line between, counts as a source. A `>` block quotation with no dash line ("— Name") does not say whose words it holds and is not read; a dash line with a year or a link ("— Name, Title (1975)") counts as a source. Whether the source is right is not checked here: `chaff cite` checks that. Blog posts, essays and papers are read. An organisation''s articles quote the people they interviewed, and press releases and reports quote their own people or documents named by title, so they are left out by default, with manuals, specifications, contracts and statutes, fiction and speech.'
60
+ ja: 短い鉤括弧(「保存」ボタン、「出典」という語)は語や名前を引いたもので、人の言葉ではないので見ません。誰かに帰する言い回しが引用のすぐ後ろ(「…」と述べた)か少し前(によれば「…」)に無い引用は、書き手自身の言葉か、題名や言い換えなので見ません。「…」と述べる方が適切です、「…」と書くべきです、のように言い方を勧める続きは、人の言葉を引いていないので見ません(続きの一覧は語彙表 quote-advice にあります)。引用の前に誰かに帰する言い回しがあれば(山田氏によれば「…」と言う方が適切だ)、勧めでも人の言葉として見ます。同じ文で引用より前に「たとえば」がある例(たとえば「…」と書いて送る)、閉じ括弧のすぐ後ろが「と言われて、」「と言われても」「と言われた」のように言われる側の言い方の引用(書き手が人から受けた言葉)、程度を言う言い習わしの「と言われるほど」、空白の無い英語の一語("core_claim_false")、英語で物に書かれた言葉(a sign that said "…")も、人の言葉を引いていないので見ません(語彙表 quote-not-attribution)。同じ段落か、空行をはさまずに続く行にリンク、URL、脚注([^1])、番号の引用([3])、括弧の中の年((1975)、(1999年))があれば、出典を書いたと見ます。「— 名前」の行が無い `>` の引用は、誰の言葉かを示していないので見ません。「— 名前、書名(1975)」のように名前の行に年やリンクがあれば、出典を書いたと見ます。出典が正しいかは見ません。それは `chaff cite` が照らします。記事(ブログ、エッセイ)と論文で見ます。組織の記事は取材した人の言葉を、プレスリリースや報告書は自分たちの言葉や題名で示した文書を引くので、手順書、仕様、契約や法令、小説、話し言葉とあわせて既定で止めています。
61
+ en: 'A short quotation (the "Save" button, the word "source") names a word or a thing, not someone''s words, and is not read. A quotation with no such words right after it or shortly before it is the writer''s own words, a title or a paraphrase. In Japanese, words right after the quotation that suggest a wording rather than quote it (「…」と述べる方が適切です) are not read either, unless a word before the quotation gives it to someone; the word list quote-advice holds them. English has no such list yet. Nor are words made up as an example (For instance, a user says "…"), words written on a thing (a sign that said "…"), a saying used to tell a degree (Japanese 「…」と言われるほど, "so much that it was said …"), or a quotation of one word with no space ("core_claim_false"); the word list quote-not-attribution holds these shapes. A link, a URL, a footnote ([^1]), a numbered citation ([3]) or a year in brackets ((1975)) in the same paragraph, or on a line written right next to it with no blank line between, counts as a source. A `>` block quotation with no dash line ("— Name") does not say whose words it holds and is not read; a dash line with a year or a link ("— Name, Title (1975)") counts as a source. Whether the source is right is not checked here: `chaff cite` checks that. Blog posts, essays and papers are read. An organisation''s articles quote the people they interviewed, and press releases and reports quote their own people or documents named by title, so they are left out by default, with manuals, specifications, contracts and statutes, fiction and speech.'
@@ -43,8 +43,8 @@ example:
43
43
  この機能は必要で、設定も簡単です。費用はかかりません。
44
44
 
45
45
  not_flagged:
46
- ja: 段落をまたいだ文は続きと見ません。助動詞で終わらない文(体言止め、言い切りの動詞)は比べず、そこで続きが切れます。動詞が違えば(読みました、書きました)同じ文末とは見ません。述語の前の語まで同じ締めの句を三文以上重ねた繰り返し(いい船でした。…いい船でした。…いい船でした。)は、一つと数えます。一つの文の中に「?」で並べた問い(これはリストか?順序付きか?…などです。)も比べません。違う語を同じ型で定義する文の並び(台風は〜を指します。ハリケーンは〜を指します。)は、型をそろえたものなので指しません。見出しの語([通信関連]、化学品事業……)で始まる文は新しい項目の始まりで、前の項目の文とは続きと見ません。
47
- en: Sentences in different paragraphs are not a run. A sentence that does not end with an auxiliary (a noun, a bare verb) is not compared and breaks the run. Different verbs (読みました, 書きました) are different endings. Three sentences or more in a row that close on the very same phrase, the word before the predicate included (いい船でした。…いい船でした。…いい船でした。), are a refrain and count once. Questions run together inside one sentence (これはリストか?順序付きか?…などです。) are not compared either. Sentences that each define a different term in the same frame (台風は〜を指します。ハリケーンは〜を指します。) share their ending on purpose and are not reported. A sentence that opens with a label ([通信関連], 化学品事業……) starts a new item of a list and does not continue the run before it.
46
+ ja: 段落をまたいだ文は続きと見ません。助動詞で終わらない文(体言止め、言い切りの動詞)は比べず、そこで続きが切れます。動詞が違えば(読みました、書きました)同じ文末とは見ません。述語の前の語まで同じ締めの句を三文以上重ねた繰り返し(いい船でした。…いい船でした。…いい船でした。)は、一つと数えます。一つの文の中に「?」で並べた問い(これはリストか?順序付きか?…などです。)も比べません。違う語を同じ型で定義する文の並び(台風は〜を指します。ハリケーンは〜を指します。)は、型をそろえたものなので指しません。見出しの語([通信関連]、化学品事業……)で始まる文は新しい項目の始まりで、前の項目の文とは続きと見ません。変換で一文に平らになった表(数字のセルがつながったもの、単位の括弧で閉じる見出しのセルが並ぶもの)は、その後ろの注まで含めて書き手の文ではないので比べず、そこで続きが切れます。
47
+ en: Sentences in different paragraphs are not a run. A sentence that does not end with an auxiliary (a noun, a bare verb) is not compared and breaks the run. Different verbs (読みました, 書きました) are different endings. Three sentences or more in a row that close on the very same phrase, the word before the predicate included (いい船でした。…いい船でした。…いい船でした。), are a refrain and count once. Questions run together inside one sentence (これはリストか?順序付きか?…などです。) are not compared either. Sentences that each define a different term in the same frame (台風は〜を指します。ハリケーンは〜を指します。) share their ending on purpose and are not reported. A sentence that opens with a label ([通信関連], 化学品事業……) starts a new item of a list and does not continue the run before it. A table a converter flattened into one sentence (numbers of two cells run together, header cells each closed by a unit in brackets), with the note it runs into, is not the writer's sentence, so it is not compared and breaks the run.
48
48
  level_meaning:
49
49
  ja: 同じ文末の文が {limit} 文続くまで
50
50
  en: up to {limit} {limit|sentence|sentences} in a row with the same ending
@@ -60,8 +60,8 @@ example:
60
60
  I have no other questions.
61
61
 
62
62
  not_flagged:
63
- ja: 確認・返信・提出のように、済んだかどうかが後で分かる動作を頼む文だけを見ます。「ご了承ください」のような心構えの依頼、「ご不明な点があれば、ご連絡ください」のような条件付きの申し出、「ご質問はメールでお送りください」のような質問を受け付ける申し出、「返送の方法を教えてください」のように書き手がやり方を尋ねる依頼、「ご相談ください」「お越しください」のような誘い、連絡先の行(「電話:」)と同じ文の依頼は見ません。期限か担当が、その文か次の文にあれば指しません。「ご提出いただく前に」「送信後、」のように、いつするかを依頼の文が言っていれば期限と読みます。見出しが期限を言っていれば(「見積提出期限:…」「【随時受付】」)、その下の依頼はその期限を受け継ぎます。締め切りだけを書く節(見出しが「提出期限」「判断の期限」「DATES:」だけで、締め切りの語と日付がある)や、決める日を書いた予定の節(見出しが「今後のスケジュール」で、「2026年12月:経営会議にて承認」のように日付と決める段取りの語がある)があれば、その後ろの依頼と、同じ見出しの下で前に並ぶ節(提案の「結論」)の依頼は、どれもその締め切りを持ちます。「ぜひ参加をご検討ください」は誘いなので見ません。題が「(諮問)」の文書は、審議会に期限を付けずに審議を頼む文書なので見ません。しないように頼む文(「送らないでください」「ご遠慮ください」)は禁止なので見ません。ビジネスの文書でだけ動きます。
64
- en: Only requests for an action whose completion can be checked (review, reply, send) are read. Courtesy requests, conditional offers ("If you have questions, let me know"), open offers ("Please send any questions to me"), the writer asking how to do something ("Could you let me know how to send it back?"), invitations ("Please come and register") and a request on a contact line (a "Fax" or "Phone" label and its number) are not. A deadline or owner in the same or the next sentence is enough; so is a timing in the request itself ("after you pay"), or a heading above it that names the deadline. A section of its own for the deadline (headed only "DATES:" or "Deadline", with a deadline word and a date in it), or a schedule that says when the decision is made (headed "Timeline", with a date and a decision word, as in "December 2026, board approval"), gives that deadline to every request after it, and to the requests in the sections before it at its own level under the same heading (a proposal's "Summary"). In Japanese, 「ぜひ参加をご検討ください」 ("do consider joining") is an invitation, and a document titled 「(諮問)」, which asks a council to deliberate, carries no deadline by its kind. A request not to do something ("Please do not submit comments by email") forbids and is not read. Business documents only.
63
+ ja: 確認・返信・提出のように、済んだかどうかが後で分かる動作を頼む文だけを見ます。「ご了承ください」のような心構えの依頼、「ご不明な点があれば、ご連絡ください」のような条件付きの申し出、「ご質問はメールでお送りください」のような質問を受け付ける申し出、「返送の方法を教えてください」のように書き手がやり方を尋ねる依頼、「ご相談ください」「お越しください」のような誘い、連絡先の行(「電話:」)と同じ文の依頼は見ません。期限か担当が、その文か次の文にあれば指しません。「ご提出いただく前に」「送信後、」のように、いつするかを依頼の文が言っていれば期限と読みます。見出しが期限を言っていれば(「見積提出期限:…」「【随時受付】」)、その下の依頼はその期限を受け継ぎます。締め切りだけを書く節(見出しが「提出期限」「判断の期限」「DATES:」だけで、締め切りの語と日付がある)や、決める日を書いた予定の節(見出しが「今後のスケジュール」で、「2026年12月:経営会議にて承認」のように日付と決める段取りの語がある)があれば、その後ろの依頼と、同じ見出しの下で前に並ぶ節(提案の「結論」)の依頼は、どれもその締め切りを持ちます。「ぜひ参加をご検討ください」は誘いなので見ません。場合を言う見出し(「### 火山噴火の場合」)の下の依頼は、その場合になったときにする依頼なので見ません。日付で始まる箇条書きの項目(「* 2025年2月:…」)の下の項目の依頼は、その日付を期限と読みます。始める時を書いた提案(「まずは12月から3か月試して」)の後ろの「ご検討よろしくお願いします。」は、始める時までに決める依頼として期限があると読みます。題が「(諮問)」の文書は、審議会に期限を付けずに審議を頼む文書なので見ません。しないように頼む文(「送らないでください」「ご遠慮ください」)は禁止なので見ません。ビジネスの文書でだけ動きます。
64
+ en: Only requests for an action whose completion can be checked (review, reply, send) are read. Courtesy requests, conditional offers ("If you have questions, let me know"), open offers ("Please send any questions to me"), the writer asking how to do something ("Could you let me know how to send it back?"), invitations ("Please come and register") and a request on a contact line (a "Fax" or "Phone" label and its number) are not. A deadline or owner in the same or the next sentence is enough; so is a timing in the request itself ("after you pay"), or a heading above it that names the deadline. A section of its own for the deadline (headed only "DATES:" or "Deadline", with a deadline word and a date in it), or a schedule that says when the decision is made (headed "Timeline", with a date and a decision word, as in "December 2026, board approval"), gives that deadline to every request after it, and to the requests in the sections before it at its own level under the same heading (a proposal's "Summary"). A request in a sub-item of a list item that opens with a date (an item that begins "February 2025") takes that date as its when. In Japanese, a request under a heading that names a case (「### 火山噴火の場合」, "if a volcano erupts") is done when the case comes and is not read; a closing request to consider a proposal (「ご検討よろしくお願いします。」) after a sentence that says when the proposal starts (「12月から」) is due by that start; 「ぜひ参加をご検討ください」 ("do consider joining") is an invitation, and a document titled 「(諮問)」, which asks a council to deliberate, carries no deadline by its kind. A request not to do something ("Please do not submit comments by email") forbids and is not read. Business documents only.
65
65
  rewrite:
66
66
  depth: light
67
67
  ja:
@@ -0,0 +1,78 @@
1
+ id: reversed-link
2
+ layer: L1
3
+ status: stable
4
+ how_to_find: reversed-link
5
+ requires: [markdown]
6
+ severity: warning
7
+
8
+ name:
9
+ ja: 前後が逆のリンク
10
+ en: Link written the wrong way round
11
+
12
+ why:
13
+ ja: Markdown のリンクは「[字](URL)」と書きます。角括弧と丸括弧を逆にして「(字)[URL]」と書くとリンクにならず、括弧と URL がそのまま字として表示されます。読み手は押せないリンクと、むき出しの URL を見ることになります(markdownlint の MD011)。
14
+ en: A Markdown link is written "[text](URL)". With the brackets the wrong way round, "(text)[URL]", Markdown makes no link, and the brackets and the address are shown as written. The reader sees a link that cannot be clicked and a bare address (markdownlint's MD011).
15
+
16
+ message:
17
+ ja: 「({text})[{url}]」は括弧が逆で、リンクになりません
18
+ en: '"({text})[{url}]" has its brackets the wrong way round and is not a link'
19
+
20
+ how_to_fix:
21
+ ja: 「[{text}]({url})」と、字を角括弧に、URL を丸括弧に入れてください。
22
+ en: 'Put the text in square brackets and the address in round ones: "[{text}]({url})".'
23
+
24
+ placeholders:
25
+ text:
26
+ ja: 字
27
+ en: text
28
+ url:
29
+ ja: URL
30
+ en: URL
31
+
32
+ levels: { strict: error, normal: warning, relaxed: info }
33
+
34
+ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
35
+
36
+ group: structure
37
+ summary:
38
+ ja: 「(字)[URL]」と、角括弧と丸括弧を逆に書いたリンク
39
+ en: A link written "(text)[URL]", with the brackets the wrong way round
40
+ example:
41
+ ja:
42
+ before: |
43
+ 申し込みの方法は(申込みの案内)[https://example.com/guide]を見てください。
44
+ after: |
45
+ 申し込みの方法は[申込みの案内](https://example.com/guide)を見てください。
46
+ en:
47
+ before: |
48
+ See the (application guide)[https://example.com/guide] for how to apply.
49
+ after: |
50
+ See the [application guide](https://example.com/guide) for how to apply.
51
+
52
+ not_flagged:
53
+ ja: 角括弧の中が URL・パス・「#」で始まる名前・ページのファイル名でないもの(「(図1)[2]」「(山田 2020)[3]」のような番号や文献)、注の印(「(参照)[^1]」)、「\(」と逃がした括弧、コードと引用の中は指しません。
54
+ en: Square brackets that do not hold an address, a path, an anchor or a page file ("(Figure 1)[2]", "(Smith 2020)[3]", numbers and citations), note marks ("(see)[^1]"), an escaped "\(", and code and quotations are not reported.
55
+ rewrite:
56
+ depth: light
57
+ ja:
58
+ direction: 角括弧と丸括弧を入れ替えて、「[字](URL)」の形にしてください。字と URL は変えません。
59
+ pairs:
60
+ - before: 「(申込みの案内)[https://example.com/guide]」
61
+ after: 「[申込みの案内](https://example.com/guide)」
62
+ - before: 「(料金表)[./prices.md]」
63
+ after: 「[料金表](./prices.md)」
64
+ keep:
65
+ - リンクの字と URL
66
+ avoid:
67
+ - URL を消して字だけにする
68
+ en:
69
+ direction: Swap the brackets so the link reads "[text](URL)". Keep the text and the address.
70
+ pairs:
71
+ - before: '"(application guide)[https://example.com/guide]"'
72
+ after: '"[application guide](https://example.com/guide)"'
73
+ - before: '"(pricing)[./pricing.md]"'
74
+ after: '"[pricing](./pricing.md)"'
75
+ keep:
76
+ - the link text and the address
77
+ avoid:
78
+ - dropping the address and keeping only the text
@@ -0,0 +1,43 @@
1
+ id: sa-ire
2
+ layer: L2
3
+ status: stable
4
+ how_to_find: sa-ire
5
+ # 五段動詞かどうかは品詞解析で読む。品詞が無ければ動かない。
6
+ requires: [pos]
7
+ languages: [ja]
8
+ severity: warning
9
+
10
+ name:
11
+ ja: さ入れ言葉
12
+ en: Causative with an extra sa
13
+
14
+ why:
15
+ ja: 五段動詞の使役の形は、未然形に「せる」を付けて作ります(読ませる・行かせる・休ませる)。「読まさせる」「行かさせる」「休まさせていただく」は「さ」が余分に入った形で、話し言葉では広く使われますが、書き言葉では誤りと読まれます。一段動詞(見させる・食べさせる)、来させる、サ変動詞(説明させる)は「させる」が正しいので指しません。どの動詞が五段動詞かは品詞解析で読みます。鉤括弧や引用符で引いた言葉(話した言葉をそのまま引いたもの)は数えません。
16
+ en: The causative of a godan verb adds せる to its stem (読ませる, 行かせる, 休ませる). 読まさせる, 行かさせる and 休まさせていただく carry an extra さ; common in speech, they read as mistakes in writing. Ichidan verbs (見させる, 食べさせる), 来させる and suru verbs (説明させる) take させる correctly and are not reported. Which verbs are godan is read by the morphological analyser. Words quoted in brackets or quotation marks (speech quoted as spoken) are not counted. Japanese only; English has no such form.
17
+
18
+ message:
19
+ ja: 「{matched}」は「さ」の入った形です
20
+ en: '"{matched}" has an extra さ in the causative'
21
+
22
+ how_to_fix:
23
+ ja: 「さ」を抜いてください(読まさせて → 読ませて、行かさせる → 行かせる、休まさせて → 休ませて)。
24
+ en: Drop the さ (読まさせて → 読ませて, 行かさせる → 行かせる, 休まさせて → 休ませて).
25
+
26
+ levels: { strict: error, normal: warning, relaxed: info }
27
+
28
+ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
29
+
30
+ group: wording
31
+ summary:
32
+ ja: 「読まさせていただく」「行かさせる」のような、さ入れ言葉
33
+ en: A Japanese causative with an extra さ, such as 読まさせる for 読ませる
34
+ example:
35
+ ja:
36
+ before: |
37
+ 資料を拝見し、意見を述べさせていただきます。明日は休まさせていただきます。
38
+ after: |
39
+ 資料を拝見し、意見を述べさせていただきます。明日は休ませていただきます。
40
+
41
+ not_flagged:
42
+ ja: 一段動詞(見させる・述べさせる)、来させる、サ変動詞(説明させる)の使役、鉤括弧や引用符で引いた言葉は指しません。
43
+ en: The causative of ichidan verbs (見させる, 述べさせる), 来させる and suru verbs (説明させる), and quoted words are not reported. English documents are not read.
@@ -58,8 +58,8 @@ example:
58
58
  Today we look at the new tool. Open the settings. The gear icon at the top right opens a list of everything you can change, so pick the option you want there and switch it on. Then save. That is the first part done. Next, invite the rest of the team from the page on the left.
59
59
 
60
60
  not_flagged:
61
- ja: 箇条書きの項目は数えません(揃えて書くのが正しい形です)。地の文が 8 文より少ない文書は、ばらつきが当てにならないので測りません。
62
- en: List items are not counted, since a list is written alike on purpose. Prose of fewer than 8 sentences is not measured, because the spread means little.
61
+ ja: 箇条書きの項目と、変更履歴の版の見出しの下の記事は数えません(揃えて書くのが正しい形です)。地の文が 8 文より少ない文書は、ばらつきが当てにならないので測りません。
62
+ en: List items and the notes under a changelog's release headings are not counted, since they are written alike on purpose. Prose of fewer than 8 sentences is not measured, because the spread means little.
63
63
  level_meaning:
64
64
  ja: 文の長さのばらつきが {limit}% 未満なら指摘
65
65
  en: reported when sentence length varies by less than {limit}%
@@ -11,8 +11,8 @@ name:
11
11
  en: A serial or lot number range that ends below where it starts
12
12
 
13
13
  why:
14
- ja: 「製造番号:A2400〜A1800」「ロット番号:K0430〜K0410」のように、番号の範囲の終わりが始まりより小さいと、読み手は自分の製品が範囲に入るのかを確かめられません。回収のお知らせでは、対象の製品を見落とすか、対象外の製品まで問い合わせが来ることになります。片方の番号だけを書き換えたとき、二つを入れ替えて書いたときに起きます。英字と数字の番号を二つ、範囲の記号(〜、–)か「から … まで」でつないだものを、同じ行の前に「製造番号」「シリアル」「ロット」「バッチ」のある所だけ読みます。英字とハイフンと数字の桁数が両端でそろうときだけ数字を比べます(A2400 と A1800。A2400 と B0100 は別の系列なので比べません)。
15
- en: 'When a range of serial or lot numbers ends below where it starts ("Serial numbers: B3900 to B3100", "Lots L5240 through L5210"), the reader cannot tell whether their product is in it. In a recall notice, affected units are missed or unaffected owners call in. It happens when only one of the two numbers is edited, or when they are written the wrong way round. Two letter-and-digit codes joined by a range mark (–, —), "to" or "through" are read only when "serial", "lot", "batch" or "S/N" stands earlier on the line. The numbers are compared only when both codes have the same letters, the same hyphen and the same number of digits (B3900 and B3100; B3900 and C0100 are different series).'
14
+ ja: 「製造番号:A2400〜A1800」「ロット番号:K0430〜K0410」のように、番号の範囲の終わりが始まりより小さいと、読み手は自分の製品が範囲に入るのかを確かめられません。回収のお知らせでは、対象の製品を見落とすか、対象外の製品まで問い合わせが来ることになります。片方の番号だけを書き換えたとき、二つを入れ替えて書いたときに起きます。英字と数字の番号を二つ、範囲の記号(〜、–)か「から … まで」でつないだものを、同じ行の前に「製造番号」「シリアル」「ロット」「バッチ」のある所だけ読みます。英字とハイフンと数字の桁数が両端でそろうときだけ数字を比べます(A2400 と A1800。A2400 と B0100 は別の系列なので比べません)。ハイフンの前の数字や英数字のまとまりは系列の一部で、その後ろの番号を比べます(BW24-8600 と BW24-8100。BW24-8600 と BW25-8100 は別の系列です)。
15
+ en: 'When a range of serial or lot numbers ends below where it starts ("Serial numbers: B3900 to B3100", "Lots L5240 through L5210"), the reader cannot tell whether their product is in it. In a recall notice, affected units are missed or unaffected owners call in. It happens when only one of the two numbers is edited, or when they are written the wrong way round. Two letter-and-digit codes joined by a range mark (–, —), "to" or "through" are read only when "serial", "lot", "batch" or "S/N" stands earlier on the line. The numbers are compared only when both codes have the same letters, the same hyphen and the same number of digits (B3900 and B3100; B3900 and C0100 are different series). A group closed by a hyphen before the serial belongs to the series, and the serial after it is compared (BW24-8600 and BW24-8100; BW24-8600 and BW25-8100 are different series).'
16
16
 
17
17
  message:
18
18
  ja: 番号の範囲「{range}」の終わりが始まりより小さくなっています
@@ -45,8 +45,8 @@ example:
45
45
  Serial numbers: B3100 to B3900
46
46
 
47
47
  not_flagged:
48
- ja: 「製造番号」「ロット」などの語の無い行の番号(部品表の品番は並べた順のことがあります)、英字や桁数の違う二つの番号(A2400〜B0100)、読点で並べた番号(A2400、A1800)、数字が二桁以下の番号、「変更」など値を変える語のある文は比べません。
49
- en: 'Codes on a line without "serial", "lot", "batch" or "S/N" (part numbers in a parts list may be an order), two codes with different letters or numbers of digits (A2400 to B0100), codes listed with a comma (A2400, A1800), codes with fewer than three digits, and a sentence with a word of change ("changed", "reduced") are not compared.'
48
+ ja: 「製造番号」「ロット」などの語の無い行の番号(部品表の品番は並べた順のことがあります)、英字や桁数やハイフンの前のまとまりの違う二つの番号(A2400〜B0100、BW24-8600〜BW25-8100)、読点で並べた番号(A2400、A1800)、数字が二桁以下の番号、「変更」など値を変える語のある文は比べません。
49
+ en: 'Codes on a line without "serial", "lot", "batch" or "S/N" (part numbers in a parts list may be an order), two codes with different letters, numbers of digits or groups before a hyphen (A2400 to B0100, BW24-8600 to BW25-8100), codes listed with a comma (A2400, A1800), codes with fewer than three digits, and a sentence with a word of change ("changed", "reduced") are not compared.'
50
50
  level_meaning:
51
51
  ja: 製造番号やロットの範囲の終わりが始まりより小さいとき指摘
52
52
  en: reported when a serial or lot number range ends below where it starts
@@ -97,8 +97,8 @@ example:
97
97
  ```
98
98
 
99
99
  not_flagged:
100
- ja: シェル以外の言語のブロック、言語名の無いブロック、コマンドと出力を一緒に書いたブロック、コメント(#)の行は見ません。少ないほうが {limit} ブロックを超えるときは使い分けとみなします。
101
- en: Blocks in other languages or without a language, blocks that show a command with its output, and comment lines (#) are not read. When the fewer kind is more than {limit} blocks, it is taken as a choice.
100
+ ja: シェル以外の言語のブロック、言語名の無いブロック、コマンドと出力を一緒に書いたブロック(デバッガの (gdb) の操作も)、数字で始まる出力の行を含むブロック、コメント(#)の行は見ません。少ないほうが {limit} ブロックを超えるときは使い分けとみなします。
101
+ en: Blocks in other languages or without a language, blocks that show a command with its output (a debugger's (gdb) session too), blocks holding a line of output that opens with a digit, and comment lines (#) are not read. When the fewer kind is more than {limit} blocks, it is taken as a choice.
102
102
  level_meaning:
103
103
  ja: 少ないほうの書き方が {limit} ブロック以下のとき指摘
104
104
  en: reported when the fewer style appears in {limit} {limit|block|blocks} or fewer
@@ -0,0 +1,88 @@
1
+ id: table-absorbed-line
2
+ layer: L1
3
+ status: stable
4
+ how_to_find: table-absorbed-line
5
+ requires: [markdown]
6
+ severity: warning
7
+
8
+ name:
9
+ ja: 表に取り込まれた行
10
+ en: Line swallowed by a table
11
+
12
+ why:
13
+ ja: Markdown の表(GFM)は、空行が来るまで続きます。表のすぐ下に空行を空けずに文を書くと、その文は表の行として読まれ、最初の列のセルに入って表示されます。表の後の説明や合計の一文が、表の中の行に化けます。区切りの「|」が一つも無い行なので、書いた人は表の外のつもりです。
14
+ en: A Markdown table (GFM) runs until a blank line. A sentence written right under a table with no blank line between is read as one more row and shown in the table's first cell. The note or the total written after the table turns into a row inside it. The line has no "|" at all, so the writer meant it to stand outside the table.
15
+
16
+ message:
17
+ ja: この行は表の行として読まれ、表の最初の列に入って表示されます
18
+ en: This line is read as a row of the table above and is shown in its first column
19
+
20
+ how_to_fix:
21
+ ja: 表とこの行のあいだに空行を一つ入れてください。表の行のつもりなら、セルを「|」で区切ってください。
22
+ en: Put a blank line between the table and this line. If it is meant to be a row, separate its cells with "|".
23
+
24
+ levels: { strict: error, normal: warning, relaxed: info }
25
+
26
+ use_for: [business, technical, blog, legal, docs, academic, literature, speech]
27
+
28
+ group: structure
29
+ summary:
30
+ ja: 空行を空けずに表のすぐ下に書いたため、表の行になってしまった文
31
+ en: A sentence right under a table with no blank line, read as a row of the table
32
+ example:
33
+ ja:
34
+ before: |
35
+ | 項目 | 金額 |
36
+ | --- | --- |
37
+ | 会場 | 5万円 |
38
+ | 飲食 | 3万円 |
39
+ 金額はすべて税込みです。
40
+ after: |
41
+ | 項目 | 金額 |
42
+ | --- | --- |
43
+ | 会場 | 5万円 |
44
+ | 飲食 | 3万円 |
45
+
46
+ 金額はすべて税込みです。
47
+ en:
48
+ before: |
49
+ | Item | Cost |
50
+ | --- | --- |
51
+ | Venue | $500 |
52
+ | Food | $300 |
53
+ All prices include tax.
54
+ after: |
55
+ | Item | Cost |
56
+ | --- | --- |
57
+ | Venue | $500 |
58
+ | Food | $300 |
59
+
60
+ All prices include tax.
61
+
62
+ not_flagged:
63
+ ja: 「|」を一つでも含む行(セルの少ない行は空のセルとして表示されます)、列が一つだけの表、表の後に空行を空けた文、表の後のリストや見出し(表はそこで終わります)、コードと引用の中の表は指しません。
64
+ en: A row with any "|" (a row with fewer cells is shown with empty cells), a one-column table, a sentence after a blank line, a list or a heading after a table (the table ends there), and tables in code or quotations are not reported.
65
+ rewrite:
66
+ depth: light
67
+ ja:
68
+ direction: 表とその後の文のあいだに空行を入れてください。文は変えません。
69
+ pairs:
70
+ - before: 表の最後の行のすぐ下の「金額はすべて税込みです。」
71
+ after: 空行を一つ空けて「金額はすべて税込みです。」
72
+ - before: 品目と金額の表の最後の行「| 椅子 | 8,000 円 |」のすぐ下の「送料は別にかかります。」
73
+ after: 空行を一つ空けて「送料は別にかかります。」
74
+ keep:
75
+ - 文と表の中身
76
+ avoid:
77
+ - 文を表のセルに書き直す
78
+ en:
79
+ direction: Put a blank line between the table and the sentence after it. Keep the sentence as it is.
80
+ pairs:
81
+ - before: '"All prices include tax." right under the last row'
82
+ after: 'a blank line, then "All prices include tax."'
83
+ - before: '"Shipping is charged separately." right under the row "| Chair | $80 |"'
84
+ after: 'a blank line, then "Shipping is charged separately."'
85
+ keep:
86
+ - the sentence and the table's contents
87
+ avoid:
88
+ - rewriting the sentence into a table cell
@@ -42,8 +42,8 @@ example:
42
42
  問い合わせを半分に減らす施策を、四月から全店で始めます。
43
43
 
44
44
  not_flagged:
45
- ja: 接尾の「的」だけを数えます。「目的」「的確」「標的」のように一語になったもの、法令が定めた語(電磁的方法、反社会的勢力)、鉤括弧で引いたものの中は数えません。「か」で並べた選択肢(連続的か断続的か、一時的)と、間に名詞だけを挟んで続けて書いた組(信仰的主観的、時間的空間的)は、一つの事柄なので一つと数えます。文の中に丸数字で並べた箇条(①…、②…)は、項目ごとに数えます。変換で一文に流れ込んだ表(「〃」のセルが並ぶ行)は数えません。
46
- en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力), and anything in 「」 are not. The options of one choice joined by か (連続的か断続的か、一時的) and a pair written together with only nouns between (信仰的主観的, 時間的空間的) count once. A list written inside the sentence with circled numbers (①…、②…) is counted item by item. A table a converter ran into one sentence (rows of ditto cells, 〃) is not counted.
45
+ ja: 接尾の「的」だけを数えます。「目的」「的確」「標的」のように一語になったもの、法令が定めた語(電磁的方法、反社会的勢力)や国の予算の制度の名前(基盤的経費、競争的研究費)、文書が定義した語(「効果的な技術的保護手段」とは…)、鉤括弧で引いたものの中は数えません。「か」で並べた選択肢(連続的か断続的か、一時的)と、間に名詞だけを挟んで続けて書いた組(信仰的主観的、時間的空間的)は、一つの事柄なので一つと数えます。文の中に丸数字で並べた箇条(①…、②…)は、項目ごとに数えます。変換で一文に流れ込んだ表(「〃」のセルが並ぶ行)は数えません。
46
+ en: Only the suffix 的 is counted; words such as 目的 and 的確, terms the law defines (電磁的方法, 反社会的勢力) and the names of government funding schemes (基盤的経費, 競争的研究費), terms the document defines (「効果的な技術的保護手段」とは…), and anything in 「」 are not. The options of one choice joined by か (連続的か断続的か、一時的) and a pair written together with only nouns between (信仰的主観的, 時間的空間的) count once. A list written inside the sentence with circled numbers (①…、②…) is counted item by item. A table a converter ran into one sentence (rows of ditto cells, 〃) is not counted.
47
47
  level_meaning:
48
48
  ja: 一文の「〜的」{limit} 個まで
49
49
  en: up to {limit} {limit|〜的 word|〜的 words} in a sentence