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.
- package/README.ja.md +30 -3
- package/README.md +30 -2
- package/dist/allow.d.ts +49 -0
- package/dist/allow.d.ts.map +1 -0
- package/dist/allow.js +111 -0
- package/dist/allow.js.map +1 -0
- package/dist/check-source.d.ts +13 -3
- package/dist/check-source.d.ts.map +1 -1
- package/dist/check-source.js +23 -6
- package/dist/check-source.js.map +1 -1
- package/dist/cli-text.d.ts +7 -1
- package/dist/cli-text.d.ts.map +1 -1
- package/dist/cli-text.js +8 -2
- package/dist/cli-text.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +12 -11
- package/dist/cli.js.map +1 -1
- package/dist/commands/eval.js +1 -1
- package/dist/commands/eval.js.map +1 -1
- package/dist/commands/suppressions.d.ts +4 -1
- package/dist/commands/suppressions.d.ts.map +1 -1
- package/dist/commands/suppressions.js +2 -2
- package/dist/commands/suppressions.js.map +1 -1
- package/dist/commands/test.js +1 -1
- package/dist/commands/test.js.map +1 -1
- package/dist/compound-head.d.ts +5 -2
- package/dist/compound-head.d.ts.map +1 -1
- package/dist/compound-head.js +17 -8
- package/dist/compound-head.js.map +1 -1
- package/dist/config/allow-problems.d.ts +8 -0
- package/dist/config/allow-problems.d.ts.map +1 -0
- package/dist/config/allow-problems.js +61 -0
- package/dist/config/allow-problems.js.map +1 -0
- package/dist/config/by-path-problems.d.ts +3 -0
- package/dist/config/by-path-problems.d.ts.map +1 -1
- package/dist/config/by-path-problems.js +21 -2
- package/dist/config/by-path-problems.js.map +1 -1
- package/dist/config/by-path-rules.d.ts +34 -0
- package/dist/config/by-path-rules.d.ts.map +1 -0
- package/dist/config/by-path-rules.js +53 -0
- package/dist/config/by-path-rules.js.map +1 -0
- package/dist/config/by-path.d.ts +15 -0
- package/dist/config/by-path.d.ts.map +1 -1
- package/dist/config/by-path.js.map +1 -1
- package/dist/config/consistent-problems.d.ts +5 -0
- package/dist/config/consistent-problems.d.ts.map +1 -0
- package/dist/config/consistent-problems.js +24 -0
- package/dist/config/consistent-problems.js.map +1 -0
- package/dist/config/load.d.ts +23 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/load.js +63 -10
- package/dist/config/load.js.map +1 -1
- package/dist/config/option-problems.d.ts +6 -4
- package/dist/config/option-problems.d.ts.map +1 -1
- package/dist/config/option-problems.js +5 -2
- package/dist/config/option-problems.js.map +1 -1
- package/dist/config/prefer-problems.d.ts +5 -0
- package/dist/config/prefer-problems.d.ts.map +1 -0
- package/dist/config/prefer-problems.js +15 -0
- package/dist/config/prefer-problems.js.map +1 -0
- package/dist/config/prefer.d.ts +21 -0
- package/dist/config/prefer.d.ts.map +1 -0
- package/dist/config/prefer.js +35 -0
- package/dist/config/prefer.js.map +1 -0
- package/dist/config/term-problems.d.ts +5 -0
- package/dist/config/term-problems.d.ts.map +1 -0
- package/dist/config/term-problems.js +25 -0
- package/dist/config/term-problems.js.map +1 -0
- package/dist/config/warnings.d.ts +1 -1
- package/dist/config/warnings.d.ts.map +1 -1
- package/dist/config/warnings.js +9 -2
- package/dist/config/warnings.js.map +1 -1
- package/dist/cross-variants.d.ts +1 -1
- package/dist/cross-variants.d.ts.map +1 -1
- package/dist/cross-variants.js +4 -8
- package/dist/cross-variants.js.map +1 -1
- package/dist/cross-votes.d.ts +13 -0
- package/dist/cross-votes.d.ts.map +1 -1
- package/dist/cross-votes.js +25 -2
- package/dist/cross-votes.js.map +1 -1
- package/dist/custom/parse.d.ts +9 -0
- package/dist/custom/parse.d.ts.map +1 -1
- package/dist/custom/parse.js +11 -2
- package/dist/custom/parse.js.map +1 -1
- package/dist/custom/problems.d.ts.map +1 -1
- package/dist/custom/problems.js +9 -3
- package/dist/custom/problems.js.map +1 -1
- package/dist/custom/scope-field.d.ts +7 -0
- package/dist/custom/scope-field.d.ts.map +1 -0
- package/dist/custom/scope-field.js +14 -0
- package/dist/custom/scope-field.js.map +1 -0
- package/dist/date-format.d.ts +5 -3
- package/dist/date-format.d.ts.map +1 -1
- package/dist/date-format.js +30 -5
- package/dist/date-format.js.map +1 -1
- package/dist/derived/elapsed.d.ts +4 -1
- package/dist/derived/elapsed.d.ts.map +1 -1
- package/dist/derived/elapsed.js +11 -1
- package/dist/derived/elapsed.js.map +1 -1
- package/dist/detectors/acronym-context.d.ts +3 -1
- package/dist/detectors/acronym-context.d.ts.map +1 -1
- package/dist/detectors/acronym-context.js +7 -1
- package/dist/detectors/acronym-context.js.map +1 -1
- package/dist/detectors/acronym-gloss.d.ts +20 -7
- package/dist/detectors/acronym-gloss.d.ts.map +1 -1
- package/dist/detectors/acronym-gloss.js +50 -13
- package/dist/detectors/acronym-gloss.js.map +1 -1
- package/dist/detectors/bare-comparative.d.ts +4 -0
- package/dist/detectors/bare-comparative.d.ts.map +1 -1
- package/dist/detectors/bare-comparative.js +27 -3
- package/dist/detectors/bare-comparative.js.map +1 -1
- package/dist/detectors/blank-structure.d.ts +5 -1
- package/dist/detectors/blank-structure.d.ts.map +1 -1
- package/dist/detectors/blank-structure.js +13 -7
- package/dist/detectors/blank-structure.js.map +1 -1
- package/dist/detectors/bold-label.d.ts.map +1 -1
- package/dist/detectors/bold-label.js +12 -6
- package/dist/detectors/bold-label.js.map +1 -1
- package/dist/detectors/bracket-title-date.d.ts +6 -0
- package/dist/detectors/bracket-title-date.d.ts.map +1 -0
- package/dist/detectors/bracket-title-date.js +29 -0
- package/dist/detectors/bracket-title-date.js.map +1 -0
- package/dist/detectors/broken-link.d.ts.map +1 -1
- package/dist/detectors/broken-link.js +12 -1
- package/dist/detectors/broken-link.js.map +1 -1
- package/dist/detectors/capitalised-term.d.ts.map +1 -1
- package/dist/detectors/capitalised-term.js +24 -11
- package/dist/detectors/capitalised-term.js.map +1 -1
- package/dist/detectors/change-rate.d.ts.map +1 -1
- package/dist/detectors/change-rate.js +27 -4
- package/dist/detectors/change-rate.js.map +1 -1
- package/dist/detectors/char-shape.d.ts.map +1 -1
- package/dist/detectors/char-shape.js +12 -17
- package/dist/detectors/char-shape.js.map +1 -1
- package/dist/detectors/clause-shape.d.ts +4 -2
- package/dist/detectors/clause-shape.d.ts.map +1 -1
- package/dist/detectors/clause-shape.js +8 -4
- package/dist/detectors/clause-shape.js.map +1 -1
- package/dist/detectors/contraction-mix.d.ts.map +1 -1
- package/dist/detectors/contraction-mix.js +3 -2
- package/dist/detectors/contraction-mix.js.map +1 -1
- package/dist/detectors/contraction-set-apart.d.ts +7 -1
- package/dist/detectors/contraction-set-apart.d.ts.map +1 -1
- package/dist/detectors/contraction-set-apart.js +14 -1
- package/dist/detectors/contraction-set-apart.js.map +1 -1
- package/dist/detectors/coordinate-adjective.d.ts +5 -3
- package/dist/detectors/coordinate-adjective.d.ts.map +1 -1
- package/dist/detectors/coordinate-adjective.js +49 -1
- package/dist/detectors/coordinate-adjective.js.map +1 -1
- package/dist/detectors/count-per-section.d.ts.map +1 -1
- package/dist/detectors/count-per-section.js +29 -23
- package/dist/detectors/count-per-section.js.map +1 -1
- package/dist/detectors/counter-edge.d.ts +11 -0
- package/dist/detectors/counter-edge.d.ts.map +1 -1
- package/dist/detectors/counter-edge.js +17 -0
- package/dist/detectors/counter-edge.js.map +1 -1
- package/dist/detectors/cross-variant.d.ts.map +1 -1
- package/dist/detectors/cross-variant.js +14 -2
- package/dist/detectors/cross-variant.js.map +1 -1
- package/dist/detectors/custom.d.ts.map +1 -1
- package/dist/detectors/custom.js +6 -4
- package/dist/detectors/custom.js.map +1 -1
- package/dist/detectors/date-format.js +1 -1
- package/dist/detectors/date-format.js.map +1 -1
- package/dist/detectors/date-repeated-day.d.ts +11 -0
- package/dist/detectors/date-repeated-day.d.ts.map +1 -0
- package/dist/detectors/date-repeated-day.js +15 -0
- package/dist/detectors/date-repeated-day.js.map +1 -0
- package/dist/detectors/date-year.d.ts.map +1 -1
- package/dist/detectors/date-year.js +8 -1
- package/dist/detectors/date-year.js.map +1 -1
- package/dist/detectors/defined-term-form.d.ts.map +1 -1
- package/dist/detectors/defined-term-form.js +6 -3
- package/dist/detectors/defined-term-form.js.map +1 -1
- package/dist/detectors/definition-use.d.ts.map +1 -1
- package/dist/detectors/definition-use.js +7 -1
- package/dist/detectors/definition-use.js.map +1 -1
- package/dist/detectors/derived-numbers.d.ts.map +1 -1
- package/dist/detectors/derived-numbers.js +1 -0
- package/dist/detectors/derived-numbers.js.map +1 -1
- package/dist/detectors/document-shape.d.ts +1 -1
- package/dist/detectors/document-shape.d.ts.map +1 -1
- package/dist/detectors/document-shape.js +4 -1
- package/dist/detectors/document-shape.js.map +1 -1
- package/dist/detectors/email-letter.d.ts +3 -1
- package/dist/detectors/email-letter.d.ts.map +1 -1
- package/dist/detectors/email-letter.js +4 -2
- package/dist/detectors/email-letter.js.map +1 -1
- package/dist/detectors/empty-section.d.ts +1 -0
- package/dist/detectors/empty-section.d.ts.map +1 -1
- package/dist/detectors/empty-section.js +10 -1
- package/dist/detectors/empty-section.js.map +1 -1
- package/dist/detectors/en-shape.d.ts.map +1 -1
- package/dist/detectors/en-shape.js +15 -1
- package/dist/detectors/en-shape.js.map +1 -1
- package/dist/detectors/enumeration-marker.d.ts +7 -0
- package/dist/detectors/enumeration-marker.d.ts.map +1 -0
- package/dist/detectors/enumeration-marker.js +8 -0
- package/dist/detectors/enumeration-marker.js.map +1 -0
- package/dist/detectors/event-title-item.d.ts +8 -0
- package/dist/detectors/event-title-item.d.ts.map +1 -0
- package/dist/detectors/event-title-item.js +45 -0
- package/dist/detectors/event-title-item.js.map +1 -0
- package/dist/detectors/example-baseline.d.ts +5 -0
- package/dist/detectors/example-baseline.d.ts.map +1 -1
- package/dist/detectors/example-baseline.js +15 -1
- package/dist/detectors/example-baseline.js.map +1 -1
- package/dist/detectors/filler-word.d.ts +11 -0
- package/dist/detectors/filler-word.d.ts.map +1 -0
- package/dist/detectors/filler-word.js +73 -0
- package/dist/detectors/filler-word.js.map +1 -0
- package/dist/detectors/fullwidth-alnum.d.ts.map +1 -1
- package/dist/detectors/fullwidth-alnum.js +19 -0
- package/dist/detectors/fullwidth-alnum.js.map +1 -1
- package/dist/detectors/heading-case.d.ts.map +1 -1
- package/dist/detectors/heading-case.js +6 -1
- package/dist/detectors/heading-case.js.map +1 -1
- package/dist/detectors/heading-marker-no-space.d.ts +3 -0
- package/dist/detectors/heading-marker-no-space.d.ts.map +1 -0
- package/dist/detectors/heading-marker-no-space.js +49 -0
- package/dist/detectors/heading-marker-no-space.js.map +1 -0
- package/dist/detectors/hyphen-name-suffix.d.ts.map +1 -1
- package/dist/detectors/hyphen-name-suffix.js +3 -2
- package/dist/detectors/hyphen-name-suffix.js.map +1 -1
- package/dist/detectors/inline-item-label.d.ts +6 -0
- package/dist/detectors/inline-item-label.d.ts.map +1 -0
- package/dist/detectors/inline-item-label.js +68 -0
- package/dist/detectors/inline-item-label.js.map +1 -0
- package/dist/detectors/kanji-name-edge.d.ts +5 -0
- package/dist/detectors/kanji-name-edge.d.ts.map +1 -1
- package/dist/detectors/kanji-name-edge.js +9 -0
- package/dist/detectors/kanji-name-edge.js.map +1 -1
- package/dist/detectors/known-correction.d.ts.map +1 -1
- package/dist/detectors/known-correction.js +13 -1
- package/dist/detectors/known-correction.js.map +1 -1
- package/dist/detectors/link-definition.d.ts +3 -0
- package/dist/detectors/link-definition.d.ts.map +1 -0
- package/dist/detectors/link-definition.js +78 -0
- package/dist/detectors/link-definition.js.map +1 -0
- package/dist/detectors/list-item-asides.d.ts +7 -0
- package/dist/detectors/list-item-asides.d.ts.map +1 -0
- package/dist/detectors/list-item-asides.js +25 -0
- package/dist/detectors/list-item-asides.js.map +1 -0
- package/dist/detectors/list-item.d.ts +2 -0
- package/dist/detectors/list-item.d.ts.map +1 -1
- package/dist/detectors/list-item.js +6 -0
- package/dist/detectors/list-item.js.map +1 -1
- package/dist/detectors/list-items.d.ts.map +1 -1
- package/dist/detectors/list-items.js +12 -3
- package/dist/detectors/list-items.js.map +1 -1
- package/dist/detectors/list-opening-conjunction.d.ts +7 -0
- package/dist/detectors/list-opening-conjunction.d.ts.map +1 -0
- package/dist/detectors/list-opening-conjunction.js +22 -0
- package/dist/detectors/list-opening-conjunction.js.map +1 -0
- package/dist/detectors/list-parallel.d.ts.map +1 -1
- package/dist/detectors/list-parallel.js +11 -14
- package/dist/detectors/list-parallel.js.map +1 -1
- package/dist/detectors/list-run.d.ts.map +1 -1
- package/dist/detectors/list-run.js +15 -3
- package/dist/detectors/list-run.js.map +1 -1
- package/dist/detectors/list-verb-series.d.ts +6 -0
- package/dist/detectors/list-verb-series.d.ts.map +1 -0
- package/dist/detectors/list-verb-series.js +20 -0
- package/dist/detectors/list-verb-series.js.map +1 -0
- package/dist/detectors/mark-shape.d.ts +5 -2
- package/dist/detectors/mark-shape.d.ts.map +1 -1
- package/dist/detectors/mark-shape.js +12 -15
- package/dist/detectors/mark-shape.js.map +1 -1
- package/dist/detectors/markdown-slip.d.ts +5 -0
- package/dist/detectors/markdown-slip.d.ts.map +1 -1
- package/dist/detectors/markdown-slip.js +23 -0
- package/dist/detectors/markdown-slip.js.map +1 -1
- package/dist/detectors/marked-word.d.ts +10 -0
- package/dist/detectors/marked-word.d.ts.map +1 -0
- package/dist/detectors/marked-word.js +30 -0
- package/dist/detectors/marked-word.js.map +1 -0
- package/dist/detectors/middle-dot.d.ts +1 -1
- package/dist/detectors/middle-dot.d.ts.map +1 -1
- package/dist/detectors/middle-dot.js +21 -2
- package/dist/detectors/middle-dot.js.map +1 -1
- package/dist/detectors/missing-final-period.d.ts.map +1 -1
- package/dist/detectors/missing-final-period.js +8 -1
- package/dist/detectors/missing-final-period.js.map +1 -1
- package/dist/detectors/name-variant-two-things.d.ts +2 -1
- package/dist/detectors/name-variant-two-things.d.ts.map +1 -1
- package/dist/detectors/name-variant-two-things.js +30 -2
- package/dist/detectors/name-variant-two-things.js.map +1 -1
- package/dist/detectors/net-amount-mismatch.d.ts.map +1 -1
- package/dist/detectors/net-amount-mismatch.js +26 -4
- package/dist/detectors/net-amount-mismatch.js.map +1 -1
- package/dist/detectors/nominalization.d.ts.map +1 -1
- package/dist/detectors/nominalization.js +6 -1
- package/dist/detectors/nominalization.js.map +1 -1
- package/dist/detectors/number-style.d.ts +2 -0
- package/dist/detectors/number-style.d.ts.map +1 -1
- package/dist/detectors/number-style.js +5 -0
- package/dist/detectors/number-style.js.map +1 -1
- package/dist/detectors/ordinary-phrase.d.ts +5 -0
- package/dist/detectors/ordinary-phrase.d.ts.map +1 -1
- package/dist/detectors/ordinary-phrase.js +12 -0
- package/dist/detectors/ordinary-phrase.js.map +1 -1
- package/dist/detectors/organisation-run.d.ts +2 -0
- package/dist/detectors/organisation-run.d.ts.map +1 -1
- package/dist/detectors/organisation-run.js +7 -0
- package/dist/detectors/organisation-run.js.map +1 -1
- package/dist/detectors/orthographic-variant-kanji-word.d.ts +22 -0
- package/dist/detectors/orthographic-variant-kanji-word.d.ts.map +1 -0
- package/dist/detectors/orthographic-variant-kanji-word.js +27 -0
- package/dist/detectors/orthographic-variant-kanji-word.js.map +1 -0
- package/dist/detectors/orthographic-variant-open.d.ts.map +1 -1
- package/dist/detectors/orthographic-variant-open.js +2 -1
- package/dist/detectors/orthographic-variant-open.js.map +1 -1
- package/dist/detectors/orthographic-variant-text.d.ts +7 -0
- package/dist/detectors/orthographic-variant-text.d.ts.map +1 -0
- package/dist/detectors/orthographic-variant-text.js +14 -0
- package/dist/detectors/orthographic-variant-text.js.map +1 -0
- package/dist/detectors/orthographic-variant.d.ts.map +1 -1
- package/dist/detectors/orthographic-variant.js +22 -23
- package/dist/detectors/orthographic-variant.js.map +1 -1
- package/dist/detectors/orthography.d.ts.map +1 -1
- package/dist/detectors/orthography.js +12 -2
- package/dist/detectors/orthography.js.map +1 -1
- package/dist/detectors/oxford-comma.d.ts.map +1 -1
- package/dist/detectors/oxford-comma.js +14 -3
- package/dist/detectors/oxford-comma.js.map +1 -1
- package/dist/detectors/paragraph-run.d.ts +1 -1
- package/dist/detectors/paragraph-run.d.ts.map +1 -1
- package/dist/detectors/paragraph-run.js +4 -2
- package/dist/detectors/paragraph-run.js.map +1 -1
- package/dist/detectors/placeholder-text.d.ts.map +1 -1
- package/dist/detectors/placeholder-text.js +12 -4
- package/dist/detectors/placeholder-text.js.map +1 -1
- package/dist/detectors/placeholder.d.ts +1 -0
- package/dist/detectors/placeholder.d.ts.map +1 -1
- package/dist/detectors/placeholder.js +8 -0
- package/dist/detectors/placeholder.js.map +1 -1
- package/dist/detectors/pseudo-heading.d.ts +9 -0
- package/dist/detectors/pseudo-heading.d.ts.map +1 -0
- package/dist/detectors/pseudo-heading.js +54 -0
- package/dist/detectors/pseudo-heading.js.map +1 -0
- package/dist/detectors/quote-around.d.ts +1 -1
- package/dist/detectors/quote-around.d.ts.map +1 -1
- package/dist/detectors/quote-around.js +26 -5
- package/dist/detectors/quote-around.js.map +1 -1
- package/dist/detectors/quoted-label.d.ts +8 -0
- package/dist/detectors/quoted-label.d.ts.map +1 -0
- package/dist/detectors/quoted-label.js +18 -0
- package/dist/detectors/quoted-label.js.map +1 -0
- package/dist/detectors/ra-nuki.d.ts +1 -7
- package/dist/detectors/ra-nuki.d.ts.map +1 -1
- package/dist/detectors/ra-nuki.js +2 -27
- package/dist/detectors/ra-nuki.js.map +1 -1
- package/dist/detectors/register-required.d.ts +27 -0
- package/dist/detectors/register-required.d.ts.map +1 -0
- package/dist/detectors/register-required.js +33 -0
- package/dist/detectors/register-required.js.map +1 -0
- package/dist/detectors/register-voice.d.ts +13 -1
- package/dist/detectors/register-voice.d.ts.map +1 -1
- package/dist/detectors/register-voice.js +27 -0
- package/dist/detectors/register-voice.js.map +1 -1
- package/dist/detectors/registry/enumeration-marker.d.ts +3 -0
- package/dist/detectors/registry/enumeration-marker.d.ts.map +1 -0
- package/dist/detectors/registry/enumeration-marker.js +3 -0
- package/dist/detectors/registry/enumeration-marker.js.map +1 -0
- package/dist/detectors/registry/filler-word.d.ts +3 -0
- package/dist/detectors/registry/filler-word.d.ts.map +1 -0
- package/dist/detectors/registry/filler-word.js +3 -0
- package/dist/detectors/registry/filler-word.js.map +1 -0
- package/dist/detectors/registry/heading-marker-no-space.d.ts +3 -0
- package/dist/detectors/registry/heading-marker-no-space.d.ts.map +1 -0
- package/dist/detectors/registry/heading-marker-no-space.js +3 -0
- package/dist/detectors/registry/heading-marker-no-space.js.map +1 -0
- package/dist/detectors/registry/link-definition-unused.d.ts +3 -0
- package/dist/detectors/registry/link-definition-unused.d.ts.map +1 -0
- package/dist/detectors/registry/link-definition-unused.js +3 -0
- package/dist/detectors/registry/link-definition-unused.js.map +1 -0
- package/dist/detectors/registry/pseudo-heading.d.ts +3 -0
- package/dist/detectors/registry/pseudo-heading.d.ts.map +1 -0
- package/dist/detectors/registry/pseudo-heading.js +3 -0
- package/dist/detectors/registry/pseudo-heading.js.map +1 -0
- package/dist/detectors/registry/reversed-link.d.ts +3 -0
- package/dist/detectors/registry/reversed-link.d.ts.map +1 -0
- package/dist/detectors/registry/reversed-link.js +3 -0
- package/dist/detectors/registry/reversed-link.js.map +1 -0
- package/dist/detectors/registry/sa-ire.d.ts +3 -0
- package/dist/detectors/registry/sa-ire.d.ts.map +1 -0
- package/dist/detectors/registry/sa-ire.js +3 -0
- package/dist/detectors/registry/sa-ire.js.map +1 -0
- package/dist/detectors/registry/table-absorbed-line.d.ts +3 -0
- package/dist/detectors/registry/table-absorbed-line.d.ts.map +1 -0
- package/dist/detectors/registry/table-absorbed-line.js +3 -0
- package/dist/detectors/registry/table-absorbed-line.js.map +1 -0
- package/dist/detectors/registry/term-consistency.d.ts +3 -0
- package/dist/detectors/registry/term-consistency.d.ts.map +1 -0
- package/dist/detectors/registry/term-consistency.js +3 -0
- package/dist/detectors/registry/term-consistency.js.map +1 -0
- package/dist/detectors/registry/term-form.d.ts +3 -0
- package/dist/detectors/registry/term-form.d.ts.map +1 -0
- package/dist/detectors/registry/term-form.js +3 -0
- package/dist/detectors/registry/term-form.js.map +1 -0
- package/dist/detectors/relative-pronoun-mix.d.ts +1 -1
- package/dist/detectors/relative-pronoun-mix.d.ts.map +1 -1
- package/dist/detectors/relative-pronoun-mix.js +14 -3
- package/dist/detectors/relative-pronoun-mix.js.map +1 -1
- package/dist/detectors/release-notes.d.ts +7 -0
- package/dist/detectors/release-notes.d.ts.map +1 -0
- package/dist/detectors/release-notes.js +12 -0
- package/dist/detectors/release-notes.js.map +1 -0
- package/dist/detectors/request-owner.d.ts +5 -1
- package/dist/detectors/request-owner.d.ts.map +1 -1
- package/dist/detectors/request-owner.js +53 -1
- package/dist/detectors/request-owner.js.map +1 -1
- package/dist/detectors/reversed-link.d.ts +3 -0
- package/dist/detectors/reversed-link.d.ts.map +1 -0
- package/dist/detectors/reversed-link.js +31 -0
- package/dist/detectors/reversed-link.js.map +1 -0
- package/dist/detectors/sa-ire.d.ts +3 -0
- package/dist/detectors/sa-ire.d.ts.map +1 -0
- package/dist/detectors/sa-ire.js +5 -0
- package/dist/detectors/sa-ire.js.map +1 -0
- package/dist/detectors/sentence-counts.d.ts.map +1 -1
- package/dist/detectors/sentence-counts.js +19 -6
- package/dist/detectors/sentence-counts.js.map +1 -1
- package/dist/detectors/sentence-ending.d.ts.map +1 -1
- package/dist/detectors/sentence-ending.js +35 -11
- package/dist/detectors/sentence-ending.js.map +1 -1
- package/dist/detectors/sentence-length.d.ts.map +1 -1
- package/dist/detectors/sentence-length.js +11 -1
- package/dist/detectors/sentence-length.js.map +1 -1
- package/dist/detectors/sentence-rhythm.d.ts.map +1 -1
- package/dist/detectors/sentence-rhythm.js +6 -2
- package/dist/detectors/sentence-rhythm.js.map +1 -1
- package/dist/detectors/signals.js +2 -2
- package/dist/detectors/signals.js.map +1 -1
- package/dist/detectors/structure.d.ts +1 -0
- package/dist/detectors/structure.d.ts.map +1 -1
- package/dist/detectors/structure.js +5 -0
- package/dist/detectors/structure.js.map +1 -1
- package/dist/detectors/technical-docs.d.ts +8 -1
- package/dist/detectors/technical-docs.d.ts.map +1 -1
- package/dist/detectors/technical-docs.js +16 -3
- package/dist/detectors/technical-docs.js.map +1 -1
- package/dist/detectors/term-consistency.d.ts +4 -0
- package/dist/detectors/term-consistency.d.ts.map +1 -0
- package/dist/detectors/term-consistency.js +35 -0
- package/dist/detectors/term-consistency.js.map +1 -0
- package/dist/detectors/term-form.d.ts +4 -0
- package/dist/detectors/term-form.d.ts.map +1 -0
- package/dist/detectors/term-form.js +17 -0
- package/dist/detectors/term-form.js.map +1 -0
- package/dist/detectors/token-shape.d.ts.map +1 -1
- package/dist/detectors/token-shape.js +4 -1
- package/dist/detectors/token-shape.js.map +1 -1
- package/dist/detectors/unbalanced-bracket.d.ts +1 -1
- package/dist/detectors/unbalanced-bracket.d.ts.map +1 -1
- package/dist/detectors/unbalanced-bracket.js +4 -2
- package/dist/detectors/unbalanced-bracket.js.map +1 -1
- package/dist/detectors/unknown-word-context.d.ts +2 -0
- package/dist/detectors/unknown-word-context.d.ts.map +1 -1
- package/dist/detectors/unknown-word-context.js +3 -0
- package/dist/detectors/unknown-word-context.js.map +1 -1
- package/dist/detectors/unknown-word.d.ts.map +1 -1
- package/dist/detectors/unknown-word.js +7 -2
- package/dist/detectors/unknown-word.js.map +1 -1
- package/dist/detectors/vague-density.d.ts.map +1 -1
- package/dist/detectors/vague-density.js +10 -2
- package/dist/detectors/vague-density.js.map +1 -1
- package/dist/detectors/version-mismatch.d.ts.map +1 -1
- package/dist/detectors/version-mismatch.js +5 -1
- package/dist/detectors/version-mismatch.js.map +1 -1
- package/dist/detectors/weasel-word.d.ts.map +1 -1
- package/dist/detectors/weasel-word.js +11 -2
- package/dist/detectors/weasel-word.js.map +1 -1
- package/dist/document-prose.d.ts +17 -0
- package/dist/document-prose.d.ts.map +1 -0
- package/dist/document-prose.js +35 -0
- package/dist/document-prose.js.map +1 -0
- package/dist/document-scope.d.ts +16 -0
- package/dist/document-scope.d.ts.map +1 -0
- package/dist/document-scope.js +51 -0
- package/dist/document-scope.js.map +1 -0
- package/dist/document.d.ts +10 -1
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +26 -37
- package/dist/document.js.map +1 -1
- package/dist/enumeration-marks.d.ts +23 -0
- package/dist/enumeration-marks.d.ts.map +1 -0
- package/dist/enumeration-marks.js +184 -0
- package/dist/enumeration-marks.js.map +1 -0
- package/dist/facts/cross-facts.d.ts +1 -1
- package/dist/facts/cross-facts.d.ts.map +1 -1
- package/dist/facts/cross-facts.js +8 -3
- package/dist/facts/cross-facts.js.map +1 -1
- package/dist/facts/labelled-facts.d.ts.map +1 -1
- package/dist/facts/labelled-facts.js +7 -4
- package/dist/facts/labelled-facts.js.map +1 -1
- package/dist/file-header.d.ts +2 -6
- package/dist/file-header.d.ts.map +1 -1
- package/dist/file-header.js +1 -1
- package/dist/file-header.js.map +1 -1
- package/dist/files.d.ts +18 -1
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +58 -8
- package/dist/files.js.map +1 -1
- package/dist/gitignore.d.ts +30 -0
- package/dist/gitignore.d.ts.map +1 -0
- package/dist/gitignore.js +68 -0
- package/dist/gitignore.js.map +1 -0
- package/dist/grade/stamp.d.ts.map +1 -1
- package/dist/grade/stamp.js +5 -0
- package/dist/grade/stamp.js.map +1 -1
- package/dist/latin-word-boundary.d.ts +5 -0
- package/dist/latin-word-boundary.d.ts.map +1 -1
- package/dist/latin-word-boundary.js +11 -0
- package/dist/latin-word-boundary.js.map +1 -1
- package/dist/markdown-node.d.ts +1 -0
- package/dist/markdown-node.d.ts.map +1 -1
- package/dist/markdown-node.js.map +1 -1
- package/dist/name-separator.d.ts.map +1 -1
- package/dist/name-separator.js +27 -5
- package/dist/name-separator.js.map +1 -1
- package/dist/news-dateline.d.ts +7 -0
- package/dist/news-dateline.d.ts.map +1 -0
- package/dist/news-dateline.js +24 -0
- package/dist/news-dateline.js.map +1 -0
- package/dist/plugin.d.ts +24 -0
- package/dist/plugin.d.ts.map +1 -1
- package/dist/reasons.d.ts +4 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +4 -0
- package/dist/reasons.js.map +1 -1
- package/dist/render/explain.d.ts +3 -0
- package/dist/render/explain.d.ts.map +1 -1
- package/dist/render/explain.js +19 -1
- package/dist/render/explain.js.map +1 -1
- package/dist/render/rules-json.d.ts.map +1 -1
- package/dist/render/rules-json.js +12 -2
- package/dist/render/rules-json.js.map +1 -1
- package/dist/render/summary.d.ts +5 -2
- package/dist/render/summary.d.ts.map +1 -1
- package/dist/render/summary.js +25 -4
- package/dist/render/summary.js.map +1 -1
- package/dist/render/suppressions.d.ts +6 -1
- package/dist/render/suppressions.d.ts.map +1 -1
- package/dist/render/suppressions.js +76 -3
- package/dist/render/suppressions.js.map +1 -1
- package/dist/rule-load.d.ts.map +1 -1
- package/dist/rule-load.js +2 -1
- package/dist/rule-load.js.map +1 -1
- package/dist/run-in-title.d.ts +4 -0
- package/dist/run-in-title.d.ts.map +1 -0
- package/dist/run-in-title.js +82 -0
- package/dist/run-in-title.js.map +1 -0
- package/dist/run.d.ts +2 -0
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +20 -8
- package/dist/run.js.map +1 -1
- package/dist/scope-markers.d.ts +9 -0
- package/dist/scope-markers.d.ts.map +1 -0
- package/dist/scope-markers.js +19 -0
- package/dist/scope-markers.js.map +1 -0
- package/dist/scope-problem-text.d.ts +4 -0
- package/dist/scope-problem-text.d.ts.map +1 -0
- package/dist/scope-problem-text.js +17 -0
- package/dist/scope-problem-text.js.map +1 -0
- package/dist/scoped-sentences.d.ts +21 -0
- package/dist/scoped-sentences.d.ts.map +1 -0
- package/dist/scoped-sentences.js +21 -0
- package/dist/scoped-sentences.js.map +1 -0
- package/dist/setting-problems.d.ts.map +1 -1
- package/dist/setting-problems.js +4 -0
- package/dist/setting-problems.js.map +1 -1
- package/dist/spelling.js +4 -4
- package/dist/spelling.js.map +1 -1
- package/dist/stet-body.d.ts +13 -0
- package/dist/stet-body.d.ts.map +1 -0
- package/dist/stet-body.js +49 -0
- package/dist/stet-body.js.map +1 -0
- package/dist/stet.d.ts +30 -4
- package/dist/stet.d.ts.map +1 -1
- package/dist/stet.js +78 -28
- package/dist/stet.js.map +1 -1
- package/dist/structure/alert-lines.d.ts +4 -0
- package/dist/structure/alert-lines.d.ts.map +1 -0
- package/dist/structure/alert-lines.js +19 -0
- package/dist/structure/alert-lines.js.map +1 -0
- package/dist/structure/catch-all-row-blank.d.ts +9 -0
- package/dist/structure/catch-all-row-blank.d.ts.map +1 -0
- package/dist/structure/catch-all-row-blank.js +19 -0
- package/dist/structure/catch-all-row-blank.js.map +1 -0
- package/dist/structure/change-rate-tied.d.ts +22 -0
- package/dist/structure/change-rate-tied.d.ts.map +1 -0
- package/dist/structure/change-rate-tied.js +85 -0
- package/dist/structure/change-rate-tied.js.map +1 -0
- package/dist/structure/cross-definitions.d.ts +1 -1
- package/dist/structure/cross-definitions.d.ts.map +1 -1
- package/dist/structure/cross-definitions.js +3 -9
- package/dist/structure/cross-definitions.js.map +1 -1
- package/dist/structure/defining-names.d.ts +1 -1
- package/dist/structure/defining-names.d.ts.map +1 -1
- package/dist/structure/defining-names.js +12 -1
- package/dist/structure/defining-names.js.map +1 -1
- package/dist/structure/net-amount.d.ts +16 -0
- package/dist/structure/net-amount.d.ts.map +1 -1
- package/dist/structure/net-amount.js +28 -1
- package/dist/structure/net-amount.js.map +1 -1
- package/dist/structure/period-label-conflict.d.ts +2 -2
- package/dist/structure/period-label-conflict.d.ts.map +1 -1
- package/dist/structure/period-label-conflict.js +17 -3
- package/dist/structure/period-label-conflict.js.map +1 -1
- package/dist/structure/serial-range.d.ts.map +1 -1
- package/dist/structure/serial-range.js +14 -6
- package/dist/structure/serial-range.js.map +1 -1
- package/dist/structure/version-mismatch.d.ts +6 -1
- package/dist/structure/version-mismatch.d.ts.map +1 -1
- package/dist/structure/version-mismatch.js +28 -6
- package/dist/structure/version-mismatch.js.map +1 -1
- package/dist/structure/weekday.d.ts.map +1 -1
- package/dist/structure/weekday.js +14 -1
- package/dist/structure/weekday.js.map +1 -1
- package/dist/table-cells.d.ts +1 -1
- package/dist/table-cells.d.ts.map +1 -1
- package/dist/table-cells.js.map +1 -1
- package/dist/term-form.d.ts +15 -0
- package/dist/term-form.d.ts.map +1 -0
- package/dist/term-form.js +72 -0
- package/dist/term-form.js.map +1 -0
- package/dist/term-groups.d.ts +33 -0
- package/dist/term-groups.d.ts.map +1 -0
- package/dist/term-groups.js +46 -0
- package/dist/term-groups.js.map +1 -0
- package/dist/text-scope.d.ts +35 -0
- package/dist/text-scope.d.ts.map +1 -0
- package/dist/text-scope.js +55 -0
- package/dist/text-scope.js.map +1 -0
- package/dist/topic-clause.d.ts.map +1 -1
- package/dist/topic-clause.js +85 -16
- package/dist/topic-clause.js.map +1 -1
- package/dist/unclosed-code-quote.d.ts +7 -0
- package/dist/unclosed-code-quote.d.ts.map +1 -0
- package/dist/unclosed-code-quote.js +37 -0
- package/dist/unclosed-code-quote.js.map +1 -0
- package/package.json +4 -3
- package/rules/adverb-overuse.yaml +2 -2
- package/rules/bold-density.yaml +2 -2
- package/rules/bold-label-list.yaml +2 -2
- package/rules/bracket-width-consistency.yaml +2 -2
- package/rules/broken-link.yaml +2 -2
- package/rules/change-rate-mismatch.yaml +2 -2
- package/rules/code-fence-language-mix.yaml +2 -2
- package/rules/comparative-without-baseline.yaml +2 -2
- package/rules/contraction-consistency.yaml +3 -3
- package/rules/cross-doc-duplicate-definition.yaml +2 -2
- package/rules/cross-doc-fact-conflict.yaml +2 -2
- package/rules/cross-doc-term-variant.yaml +4 -4
- package/rules/date-format-consistency.yaml +2 -2
- package/rules/date-weekday-mismatch.yaml +2 -2
- package/rules/date-without-year.yaml +2 -2
- package/rules/defined-term-form.yaml +2 -2
- package/rules/elapsed-years-mismatch.yaml +2 -2
- package/rules/empty-section.yaml +2 -2
- package/rules/empty-table-cell.yaml +2 -2
- package/rules/enumeration-marker-mix.yaml +102 -0
- package/rules/filler-word.yaml +74 -0
- package/rules/fullwidth-alnum-consistency.yaml +2 -2
- package/rules/heading-marker-no-space.yaml +79 -0
- package/rules/hyphen-as-dash.yaml +2 -2
- package/rules/known-misspelling.yaml +2 -2
- package/rules/latin-spacing.yaml +4 -4
- package/rules/link-definition-unused.yaml +107 -0
- package/rules/list-item-form-mix.yaml +2 -2
- package/rules/max-kanji-continuous.yaml +5 -2
- package/rules/max-sentence-length.yaml +2 -2
- package/rules/missing-final-period.yaml +2 -2
- package/rules/name-variant.yaml +2 -2
- package/rules/net-amount-mismatch.yaml +5 -5
- package/rules/no-doubled-joshi.yaml +2 -2
- package/rules/no-mixed-desumasu.yaml +62 -2
- package/rules/no-nakaguro-parallel.yaml +2 -2
- package/rules/nominalization.yaml +2 -2
- package/rules/number-style-consistency.yaml +2 -2
- package/rules/obligation-without-deadline.yaml +2 -2
- package/rules/one-sentence-paragraph-run.yaml +2 -2
- package/rules/orthographic-variant.yaml +2 -2
- package/rules/oxford-comma-consistency.yaml +2 -2
- package/rules/period-label-conflict.yaml +2 -2
- package/rules/preamble-length.yaml +2 -2
- package/rules/pseudo-heading.yaml +79 -0
- package/rules/quote-without-source.yaml +2 -2
- package/rules/repeated-sentence-ending.yaml +2 -2
- package/rules/request-without-deadline.yaml +2 -2
- package/rules/reversed-link.yaml +78 -0
- package/rules/sa-ire.yaml +43 -0
- package/rules/sentence-rhythm.yaml +2 -2
- package/rules/serial-range-reversed.yaml +4 -4
- package/rules/shell-prompt-mix.yaml +2 -2
- package/rules/table-absorbed-line.yaml +88 -0
- package/rules/teki-overuse.yaml +2 -2
- package/rules/term-consistency.yaml +56 -0
- package/rules/term-form.yaml +56 -0
- package/rules/title-case-consistency.yaml +4 -4
- package/rules/title-length.yaml +2 -2
- package/rules/topic-predicate-distance.yaml +2 -2
- package/rules/unbalanced-bracket.yaml +2 -2
- package/rules/undefined-acronym.yaml +4 -2
- package/rules/undefined-term.yaml +2 -2
- package/rules/unfilled-placeholder.yaml +2 -2
- package/rules/unknown-word.yaml +2 -2
- package/rules/use-before-definition.yaml +2 -2
- package/rules/vague-word-density.yaml +2 -2
- package/rules/version-mismatch.yaml +2 -2
- package/rules/weasel-word.yaml +3 -3
- package/rules/which-that-consistency.yaml +2 -2
- package/skills/chaff/SKILL.md +51 -7
- package/src/allow.ts +146 -0
- package/src/check-source.ts +33 -9
- package/src/cli-text.ts +13 -4
- package/src/cli.ts +16 -15
- package/src/commands/eval.ts +1 -1
- package/src/commands/suppressions.ts +3 -3
- package/src/commands/test.ts +1 -1
- package/src/compound-head.ts +17 -8
- package/src/config/allow-problems.ts +75 -0
- package/src/config/by-path-problems.ts +29 -3
- package/src/config/by-path-rules.ts +78 -0
- package/src/config/by-path.ts +9 -0
- package/src/config/consistent-problems.ts +36 -0
- package/src/config/load.ts +87 -15
- package/src/config/option-problems.ts +8 -5
- package/src/config/prefer-problems.ts +22 -0
- package/src/config/prefer.ts +52 -0
- package/src/config/term-problems.ts +38 -0
- package/src/config/warnings.ts +9 -2
- package/src/cross-variants.ts +4 -7
- package/src/cross-votes.ts +35 -4
- package/src/custom/parse.ts +16 -3
- package/src/custom/problems.ts +9 -3
- package/src/custom/scope-field.ts +16 -0
- package/src/date-format.ts +43 -8
- package/src/derived/elapsed.ts +17 -2
- package/src/detectors/acronym-context.ts +7 -1
- package/src/detectors/acronym-gloss.ts +59 -11
- package/src/detectors/bare-comparative.ts +35 -3
- package/src/detectors/blank-structure.ts +18 -9
- package/src/detectors/bold-label.ts +7 -2
- package/src/detectors/bracket-title-date.ts +36 -0
- package/src/detectors/broken-link.ts +14 -1
- package/src/detectors/capitalised-term.ts +18 -4
- package/src/detectors/change-rate.ts +29 -4
- package/src/detectors/char-shape.ts +13 -17
- package/src/detectors/clause-shape.ts +8 -4
- package/src/detectors/contraction-mix.ts +8 -2
- package/src/detectors/contraction-set-apart.ts +22 -2
- package/src/detectors/coordinate-adjective.ts +54 -1
- package/src/detectors/count-per-section.ts +13 -8
- package/src/detectors/counter-edge.ts +20 -0
- package/src/detectors/cross-variant.ts +16 -2
- package/src/detectors/custom.ts +6 -4
- package/src/detectors/date-format.ts +1 -1
- package/src/detectors/date-repeated-day.ts +20 -0
- package/src/detectors/date-year.ts +8 -1
- package/src/detectors/defined-term-form.ts +6 -3
- package/src/detectors/definition-use.ts +7 -1
- package/src/detectors/derived-numbers.ts +1 -0
- package/src/detectors/document-shape.ts +4 -1
- package/src/detectors/email-letter.ts +6 -2
- package/src/detectors/empty-section.ts +10 -2
- package/src/detectors/en-shape.ts +17 -1
- package/src/detectors/enumeration-marker.ts +14 -0
- package/src/detectors/event-title-item.ts +57 -0
- package/src/detectors/example-baseline.ts +16 -1
- package/src/detectors/filler-word.ts +96 -0
- package/src/detectors/fullwidth-alnum.ts +24 -0
- package/src/detectors/heading-case.ts +7 -1
- package/src/detectors/heading-marker-no-space.ts +62 -0
- package/src/detectors/hyphen-name-suffix.ts +3 -2
- package/src/detectors/inline-item-label.ts +98 -0
- package/src/detectors/kanji-name-edge.ts +11 -0
- package/src/detectors/known-correction.ts +17 -1
- package/src/detectors/link-definition.ts +91 -0
- package/src/detectors/list-item-asides.ts +29 -0
- package/src/detectors/list-item.ts +7 -0
- package/src/detectors/list-items.ts +13 -2
- package/src/detectors/list-opening-conjunction.ts +22 -0
- package/src/detectors/list-parallel.ts +11 -15
- package/src/detectors/list-run.ts +16 -3
- package/src/detectors/list-verb-series.ts +24 -0
- package/src/detectors/mark-shape.ts +15 -19
- package/src/detectors/markdown-slip.ts +25 -1
- package/src/detectors/marked-word.ts +40 -0
- package/src/detectors/middle-dot.ts +27 -2
- package/src/detectors/missing-final-period.ts +9 -1
- package/src/detectors/name-variant-two-things.ts +37 -2
- package/src/detectors/net-amount-mismatch.ts +41 -4
- package/src/detectors/nominalization.ts +8 -1
- package/src/detectors/number-style.ts +8 -0
- package/src/detectors/ordinary-phrase.ts +13 -0
- package/src/detectors/organisation-run.ts +9 -0
- package/src/detectors/orthographic-variant-kanji-word.ts +33 -0
- package/src/detectors/orthographic-variant-open.ts +2 -1
- package/src/detectors/orthographic-variant-text.ts +20 -0
- package/src/detectors/orthographic-variant.ts +25 -32
- package/src/detectors/orthography.ts +18 -2
- package/src/detectors/oxford-comma.ts +14 -2
- package/src/detectors/paragraph-run.ts +7 -10
- package/src/detectors/placeholder-text.ts +22 -5
- package/src/detectors/placeholder.ts +10 -0
- package/src/detectors/pseudo-heading.ts +59 -0
- package/src/detectors/quote-around.ts +31 -6
- package/src/detectors/quoted-label.ts +22 -0
- package/src/detectors/ra-nuki.ts +3 -34
- package/src/detectors/register-required.ts +56 -0
- package/src/detectors/register-voice.ts +36 -1
- package/src/detectors/registry/enumeration-marker.ts +4 -0
- package/src/detectors/registry/filler-word.ts +4 -0
- package/src/detectors/registry/heading-marker-no-space.ts +4 -0
- package/src/detectors/registry/link-definition-unused.ts +4 -0
- package/src/detectors/registry/pseudo-heading.ts +4 -0
- package/src/detectors/registry/reversed-link.ts +4 -0
- package/src/detectors/registry/sa-ire.ts +4 -0
- package/src/detectors/registry/table-absorbed-line.ts +4 -0
- package/src/detectors/registry/term-consistency.ts +4 -0
- package/src/detectors/registry/term-form.ts +4 -0
- package/src/detectors/relative-pronoun-mix.ts +18 -3
- package/src/detectors/release-notes.ts +19 -0
- package/src/detectors/request-owner.ts +62 -2
- package/src/detectors/reversed-link.ts +39 -0
- package/src/detectors/sa-ire.ts +7 -0
- package/src/detectors/sentence-counts.ts +28 -9
- package/src/detectors/sentence-ending.ts +53 -12
- package/src/detectors/sentence-length.ts +16 -2
- package/src/detectors/sentence-rhythm.ts +6 -2
- package/src/detectors/signals.ts +2 -2
- package/src/detectors/structure.ts +4 -0
- package/src/detectors/technical-docs.ts +27 -3
- package/src/detectors/term-consistency.ts +41 -0
- package/src/detectors/term-form.ts +17 -0
- package/src/detectors/token-shape.ts +4 -1
- package/src/detectors/unbalanced-bracket.ts +4 -2
- package/src/detectors/unknown-word-context.ts +6 -0
- package/src/detectors/unknown-word.ts +7 -1
- package/src/detectors/vague-density.ts +10 -2
- package/src/detectors/version-mismatch.ts +7 -1
- package/src/detectors/weasel-word.ts +13 -2
- package/src/document-prose.ts +43 -0
- package/src/document-scope.ts +66 -0
- package/src/document.ts +43 -50
- package/src/enumeration-marks.ts +233 -0
- package/src/facts/cross-facts.ts +10 -4
- package/src/facts/labelled-facts.ts +7 -4
- package/src/file-header.ts +3 -5
- package/src/files.ts +87 -8
- package/src/gitignore.ts +83 -0
- package/src/grade/stamp.ts +5 -0
- package/src/latin-word-boundary.ts +12 -0
- package/src/markdown-node.ts +1 -0
- package/src/name-separator.ts +29 -7
- package/src/news-dateline.ts +29 -0
- package/src/plugin.ts +21 -3
- package/src/reasons.ts +8 -0
- package/src/render/explain.ts +26 -1
- package/src/render/rules-json.ts +16 -2
- package/src/render/summary.ts +33 -4
- package/src/render/suppressions.ts +101 -4
- package/src/rule-load.ts +3 -2
- package/src/run-in-title.ts +91 -0
- package/src/run.ts +21 -8
- package/src/scope-markers.ts +25 -0
- package/src/scope-problem-text.ts +21 -0
- package/src/scoped-sentences.ts +41 -0
- package/src/setting-problems.ts +4 -0
- package/src/spelling.ts +4 -4
- package/src/stet-body.ts +74 -0
- package/src/stet.ts +113 -32
- package/src/structure/alert-lines.ts +19 -0
- package/src/structure/catch-all-row-blank.ts +22 -0
- package/src/structure/change-rate-tied.ts +113 -0
- package/src/structure/cross-definitions.ts +6 -9
- package/src/structure/defining-names.ts +14 -1
- package/src/structure/net-amount.ts +44 -5
- package/src/structure/period-label-conflict.ts +22 -7
- package/src/structure/serial-range.ts +14 -6
- package/src/structure/version-mismatch.ts +41 -8
- package/src/structure/weekday.ts +14 -1
- package/src/table-cells.ts +2 -2
- package/src/term-form.ts +99 -0
- package/src/term-groups.ts +68 -0
- package/src/text-scope.ts +79 -0
- package/src/topic-clause.ts +96 -17
- package/src/unclosed-code-quote.ts +42 -0
|
@@ -72,8 +72,8 @@ example:
|
|
|
72
72
|
- October 28, 2026: results sent
|
|
73
73
|
|
|
74
74
|
not_flagged:
|
|
75
|
-
ja: 年のある日付がみな同じ年の文書では、年の無い日付を指しません(どの年か読み手に分かるため)。年を一度だけ書いて、あとの日付は月と日だけで書く文書(年の無い日付のほうが多い文書)も、書き方の選び方として指しません。ただしどちらの場合も、年をまたぐ日付は指します。見出しが年を名指す節(「2026年度の予定」「令和8年の行事」「FY27」)の日付は、見出しから年が決まるので指しません。同じ年の日付が二つ続いたすぐ後で、そこから先へ進む月日(1952年4月9日、4月21日 … 4月30日、5月12
|
|
76
|
-
en: A document whose dated dates are all in one year is not reported, since the reader can tell the year. A document that writes the year once and the rest as month and day (more yearless dates than dated ones) is a style, and not reported either. In both, a date across the turn of a year is still reported. A date in a section whose heading names the year ("2026 events", "FY27-Q2") takes its year from the heading and is not reported. Nor is a month and day that carries an account forward right after two dates of one year ("April 9, 1952 … April 21, 1952 … on April 30 … May 12"). In minutes, a letter, a speech or a transcript (the genres of the dated_genres option) that carry their own date at the top ("January 17, 2024" under the title), a day and month within five months of that date takes the year that puts it there, and is not reported. Below a line that is only a date further down ("WEDNESDAY, MAY 21, 2025", each sitting of a record of several), a day and month is read from that line's date instead; a date-only line that goes back in time (a report's date of last release) is not a sitting's. Nor is a date of no one year, such as a day that comes round every year ("every year on April 1", "each December 31", "March 1 of each calendar year", "the fiscal year end is March 31", "April 1 to March 31 of the following year", a whole year such as "January 1 to December 31") and a date in a worked example ("for example, a request received on April 1", the dates after "e.g.", a list item opening with "If" just after an example's item). A document with no dated date, and month-only and year-only dates, are not checked.
|
|
75
|
+
ja: 年のある日付がみな同じ年の文書では、年の無い日付を指しません(どの年か読み手に分かるため)。年を一度だけ書いて、あとの日付は月と日だけで書く文書(年の無い日付のほうが多い文書)も、書き方の選び方として指しません。ただしどちらの場合も、年をまたぐ日付は指します。見出しが年を名指す節(「2026年度の予定」「令和8年の行事」「FY27」)の日付は、見出しから年が決まるので指しません。同じ年の日付が二つ続いたすぐ後で、そこから先へ進む月日(1952年4月9日、4月21日 … 4月30日、5月12日)も、その年の出来事の続きとして指しません。前に年つきで書いた日を、もう一度月日だけで書いた日付(2027年1月16日(土)… 1月16日(土)の初日は)も、その年の日として指しません。文書の日付を頭に書いた議事録・手紙・演説・発言録(dated_genres の genre。題の下の「2024年1月17日」の行)では、その日付から5か月以内に収まる月日もその年と読めるので指しません。日付だけの行(「2025年5月21日(水)」)が途中にあれば、その下の月日はその行の日付から読みます(何日かにわたる会議録の各回の日付)。それより前へ戻る日付だけの行(報告の中の「前回のリリース日」)は、各回の日付と読みません。どの年のものでもない日付も指しません。毎年の日(毎年4月1日、決算日は12月31日、年末年始閉庁日(12月29日~1月3日)、4月1日から翌年3月31日まで、1月1日から12月31日までのような一年の期間)と、例の日付(例えば…4月1日に届いた場合、例:のあとの日付、例の項目に続く「もし…」の項目)です。年のある日付が一つも無い文書、月だけ・年だけの日付は見ません。
|
|
76
|
+
en: A document whose dated dates are all in one year is not reported, since the reader can tell the year. A document that writes the year once and the rest as month and day (more yearless dates than dated ones) is a style, and not reported either. In both, a date across the turn of a year is still reported. A date in a section whose heading names the year ("2026 events", "FY27-Q2") takes its year from the heading and is not reported. Nor is a month and day that carries an account forward right after two dates of one year ("April 9, 1952 … April 21, 1952 … on April 30 … May 12"). Nor is a month and day the text gave earlier with its year, named again ("Saturday, January 16, 2027 … on Saturday, January 16"). In minutes, a letter, a speech or a transcript (the genres of the dated_genres option) that carry their own date at the top ("January 17, 2024" under the title), a day and month within five months of that date takes the year that puts it there, and is not reported. Below a line that is only a date further down ("WEDNESDAY, MAY 21, 2025", each sitting of a record of several), a day and month is read from that line's date instead; a date-only line that goes back in time (a report's date of last release) is not a sitting's. Nor is a date of no one year, such as a day that comes round every year ("every year on April 1", "each December 31", "March 1 of each calendar year", "the fiscal year end is March 31", "April 1 to March 31 of the following year", a whole year such as "January 1 to December 31") and a date in a worked example ("for example, a request received on April 1", the dates after "e.g.", a list item opening with "If" just after an example's item). A document with no dated date, and month-only and year-only dates, are not checked.
|
|
77
77
|
rewrite:
|
|
78
78
|
depth: light
|
|
79
79
|
ja:
|
|
@@ -83,8 +83,8 @@ example:
|
|
|
83
83
|
3. You must not resell the Services.
|
|
84
84
|
|
|
85
85
|
not_flagged:
|
|
86
|
-
ja: 定義そのもの(以下「本サービス」という、「本サービス」とは)、定義より前の使用(use-before-definition が見ます)、文の頭の大文字、小文字の使用が {limit} 個を超えるか大文字の使用より多い語(ふつうの意味で使っているとみなす)は指しません。定義の文の中の使用(「顧客」とは、表紙に「顧客」と書いた者をいう)も見ません。法令・規程(statute の profile で読む文書)は、語そのものを指すために語をかぎ括弧に入れる(「株主」とあるのは、「個人情報」の定義)ので、かぎ括弧に入れ直した語は指しません。小文字の語句は、形容詞で始まるもの、形容詞や所有の語や名詞が前に付くもの(its own confidential information、additional terms of service、a common parent、a limited liability company)、種類から一部を取り出すもの(some of these terms、many of the services)、of と冠詞の無い名詞が後ろに続くもの(certificates of deposit)、別の定義した語の一部であるもの(Certificate of Merger と定義した文書の certificate of merger)は普通の語句として見ません。ただし、the other party、such company のように指す語が前に付くものは指します。引用符に入れた語でも、前の語がその語を語として挙げているもの(the definition of "Material Adverse Effect"、the term "Affiliate")は見ません。かぎ括弧の語が条文や文書の文言を引いたもの(憲法一九条にいう「良心の自由」、第1項1号の「特定居住用宅地等」、「謝罪」の文言)も見ません。ほかの文書の語を解く定義(憲法一九条にいう「良心の自由」とは)は、その語を文書の定義した語にしません。「本」と「本件」を入れ替えた形は、その形も定義した語であるとき、長い語の一部(見本物品)のときは見ません。長くした語は、指す語(当該・前記・同・各)が前に付いただけのもの、二字以下の語(提供、登録)を長くしたもの、定義の文がその長い語を書いているもの(東京都(以下「都」という。))、その長い語も定義した語であるもの、複数形(Boxes)は見ません。
|
|
87
|
-
en: 'The definitions themselves ("Services" means, (the "Services")), uses before the definition (use-before-definition reads those), capitals at the start of a sentence, and terms written in lower case more than {limit} times or more often than capitalised (taken as the ordinary word used on purpose) are not reported, nor is a use inside the defining sentence ("Customer" means the party named "Customer"). A statute or a regulation (a document read with the statute profile) quotes a term to talk about the term itself ("controller" has the same meaning as in Part 3), so a quoted term is not reported there. A lower-case phrase that starts with an adjective, or that an adjective, a possessive or a noun comes before (its own confidential information, additional terms of service, a common parent, a limited liability company), one picked out of its kind (some of these terms, many of the services), one followed by "of" and a bare noun (certificates of deposit), and one inside another defined term (certificate of merger where Certificate of Merger is defined) is the ordinary phrase and is not reported; after a pointing word (the other party, such company) it is. Nor is a quoted term that the words before it name as a term (the definition of "Material Adverse Effect", the term "Affiliate"). Nor is a quoted Japanese term that quotes the wording of a provision or a document (憲法一九条にいう「良心の自由」, 「謝罪」の文言). A definition that interprets a term of another instrument (憲法一九条にいう「良心の自由」とは) does not make it a term of the document. A term with its other prefix (本件業務 for 本業務) is not reported when that form is defined too, or inside a longer word (見本物品). A longer word is not reported when only a pointing word comes before the term (当該管理責任者), when the term has two characters or fewer (提供, 登録), when the definition itself writes the longer word (東京都(以下「都」という。)), when the longer word is defined too, or when it is a plural (Boxes).'
|
|
86
|
+
ja: 定義そのもの(以下「本サービス」という、「本サービス」とは)、定義より前の使用(use-before-definition が見ます)、文の頭の大文字、小文字の使用が {limit} 個を超えるか大文字の使用より多い語(ふつうの意味で使っているとみなす)は指しません。定義の文の中の使用(「顧客」とは、表紙に「顧客」と書いた者をいう)も見ません。法令・規程(statute の profile で読む文書)は、語そのものを指すために語をかぎ括弧に入れる(「株主」とあるのは、「個人情報」の定義)ので、かぎ括弧に入れ直した語は指しません。小文字の語句は、形容詞で始まるもの、形容詞や所有の語や名詞が前に付くもの(its own confidential information、additional terms of service、a common parent、a limited liability company)、種類から一部を取り出すもの(some of these terms、many of the services)、and / or で普通の語と並んで後ろの名詞にかかるもの(customer and supplier information)、of と冠詞の無い名詞が後ろに続くもの(certificates of deposit)、別の定義した語の一部であるもの(Certificate of Merger と定義した文書の certificate of merger)は普通の語句として見ません。ただし、the other party、such company のように指す語が前に付くものは指します。引用符に入れた語でも、前の語がその語を語として挙げているもの(the definition of "Material Adverse Effect"、the term "Affiliate")は見ません。かぎ括弧の語が条文や文書の文言を引いたもの(憲法一九条にいう「良心の自由」、第1項1号の「特定居住用宅地等」、「謝罪」の文言)も見ません。ほかの文書の語を解く定義(憲法一九条にいう「良心の自由」とは)は、その語を文書の定義した語にしません。「本」と「本件」を入れ替えた形は、その形も定義した語であるとき、長い語の一部(見本物品)のときは見ません。長くした語は、指す語(当該・前記・同・各)が前に付いただけのもの、二字以下の語(提供、登録)を長くしたもの、定義の文がその長い語を書いているもの(東京都(以下「都」という。))、その長い語も定義した語であるもの、複数形(Boxes)は見ません。
|
|
87
|
+
en: 'The definitions themselves ("Services" means, (the "Services")), uses before the definition (use-before-definition reads those), capitals at the start of a sentence, and terms written in lower case more than {limit} times or more often than capitalised (taken as the ordinary word used on purpose) are not reported, nor is a use inside the defining sentence ("Customer" means the party named "Customer"). A statute or a regulation (a document read with the statute profile) quotes a term to talk about the term itself ("controller" has the same meaning as in Part 3), so a quoted term is not reported there. A lower-case phrase that starts with an adjective, or that an adjective, a possessive or a noun comes before (its own confidential information, additional terms of service, a common parent, a limited liability company), one picked out of its kind (some of these terms, many of the services), one joined by and or or to an ordinary word in front of a noun they share (customer and supplier information), one followed by "of" and a bare noun (certificates of deposit), and one inside another defined term (certificate of merger where Certificate of Merger is defined) is the ordinary phrase and is not reported; after a pointing word (the other party, such company) it is. Nor is a quoted term that the words before it name as a term (the definition of "Material Adverse Effect", the term "Affiliate"). Nor is a quoted Japanese term that quotes the wording of a provision or a document (憲法一九条にいう「良心の自由」, 「謝罪」の文言). A definition that interprets a term of another instrument (憲法一九条にいう「良心の自由」とは) does not make it a term of the document. A term with its other prefix (本件業務 for 本業務) is not reported when that form is defined too, or inside a longer word (見本物品). A longer word is not reported when only a pointing word comes before the term (当該管理責任者), when the term has two characters or fewer (提供, 登録), when the definition itself writes the longer word (東京都(以下「都」という。)), when the longer word is defined too, or when it is a plural (Boxes).'
|
|
88
88
|
level_meaning:
|
|
89
89
|
ja: 小文字の使用が {limit} 個以下で、大文字の使用より少ないとき指摘
|
|
90
90
|
en: lower-case uses reported when they are {limit} or fewer and fewer than the capitalised ones
|
|
@@ -11,7 +11,7 @@ name:
|
|
|
11
11
|
|
|
12
12
|
why:
|
|
13
13
|
ja: 「2015年創業」と書いた文書の「創業5年」や、「1980年生まれ(30歳)」は、どちらかが古いままです。去年の文書を写して日付だけ直したときによく起きます。文書の日付(日付だけの段落や「更新日:」の段落)の年から起点の年を引き、書いた年数と比べます。誕生日の前後や「10年目」の数え方があるので、一年までの違いは指しません。英語の文書で語で書いた年数(ten years since its founding)も読みます。「生年月日:1978年4月12日(受診時 48歳)」のように生年月日のラベルの横に書いた年齢は、受診日・報告日などラベルの付いた日の満年齢を計算して比べます(誕生日の前日までは一つ少なく数えます)。「受診時」と書いてあれば受診日で数えます。
|
|
14
|
-
en: 'A document that says "founded in 2015" and "5 years since its founding", or "born in 1980 (aged 30)", has kept one figure from an older version. It happens when last year''s document is copied and only the date is changed. The starting year is taken from the document''s own date (a paragraph holding only a date, or "Updated:") and compared with the count of years. A difference of one year is not pointed out, because of birthdays and of counting the tenth year as 10. A count written as a word ("ten years since its founding") is read as well. An age written beside a labelled date of birth ("Date of birth: March 2, 1969 (age 57)") is compared exactly with the age on a labelled date such as "Examination date" or "Report date", one less before the birthday; "at examination" picks the examination date.'
|
|
14
|
+
en: 'A document that says "founded in 2015" and "5 years since its founding", or "born in 1980 (aged 30)", has kept one figure from an older version. It happens when last year''s document is copied and only the date is changed. The starting year is taken from the document''s own date (a paragraph holding only a date, or "Updated:") and compared with the count of years. When the document names no founding year, the year that "opened" or "opened its doors" gives in the count''s own sentence is the starting year ("Brookside Dental opened its doors in 2006, and this month marks 10 years since its founding"). A difference of one year is not pointed out, because of birthdays and of counting the tenth year as 10. A count written as a word ("ten years since its founding") is read as well. An age written beside a labelled date of birth ("Date of birth: March 2, 1969 (age 57)") is compared exactly with the age on a labelled date such as "Examination date" or "Report date", one less before the birthday; "at examination" picks the examination date.'
|
|
15
15
|
|
|
16
16
|
message:
|
|
17
17
|
ja: "{origin}から{reference}年までは{expected}年ですが、「{written}」と書かれています"
|
|
@@ -58,7 +58,7 @@ example:
|
|
|
58
58
|
|
|
59
59
|
not_flagged:
|
|
60
60
|
ja: 文書に日付(日付だけの段落か「更新日:」の段落)が無ければ、比べる年が無いので見ません。一年までの違い、起点の語に直接付いていない年数(「創業後3年で上場」)、生まれた年と年齢が一つの文に一つずつでないものも見ません。生年月日の横の年齢は、数える日(受診日、報告日、時点など)が無いか一つに決まらないとき(受診日が二つ)、年齢が目安(約48歳)のとき、生年月日に年が無いときは見ません。
|
|
61
|
-
en: A document with no date of its own (a paragraph holding only a date, or "Updated:") has no year to count to and is not checked. A difference of one year, a count not attached to the origin word ("listed 3 years after its founding"), and a sentence without exactly one year of birth and one age are left alone. An age beside a date of birth is left alone when the date to count to (Examination date, Report date, As of) is missing or not one date (two examination dates), when the age is approximate, or when the date of birth has no year.
|
|
61
|
+
en: A document with no date of its own (a paragraph holding only a date, or "Updated:") has no year to count to and is not checked. A difference of one year, a count not attached to the origin word ("listed 3 years after its founding"), a year of opening in another sentence than the count ("The new wing opened in 2019.") or one of two in its sentence, and a sentence without exactly one year of birth and one age are left alone. An age beside a date of birth is left alone when the date to count to (Examination date, Report date, As of) is missing or not one date (two examination dates), when the age is approximate, or when the date of birth has no year.
|
|
62
62
|
rewrite:
|
|
63
63
|
depth: light
|
|
64
64
|
ja:
|
package/rules/empty-section.yaml
CHANGED
|
@@ -70,5 +70,5 @@ example:
|
|
|
70
70
|
Fit the parts.
|
|
71
71
|
|
|
72
72
|
not_flagged:
|
|
73
|
-
ja: すぐ後ろに深い見出しが来る節(小さな節に分けたもの)は指しません。同じ深さの見出しでも、番号が節の下の番号(3. の後の 3.1、4. の後の (1)
|
|
74
|
-
en: A heading followed by a deeper heading (a section split into subsections) is not reported, nor one followed by a heading of the same depth numbered under it (3. then 3.1, 4. then (1)). It runs on Markdown only.
|
|
73
|
+
ja: すぐ後ろに深い見出しが来る節(小さな節に分けたもの)は指しません。同じ深さの見出しでも、番号が節の下の番号(3. の後の 3.1、4. の後の (1))なら同じです。変更履歴で版の見出しが続く中の、書くことの無い版(プレリリースを正式にしただけの 2.1.0)も指しません。Markdown の文書でだけ動きます。
|
|
74
|
+
en: A heading followed by a deeper heading (a section split into subsections) is not reported, nor one followed by a heading of the same depth numbered under it (3. then 3.1, 4. then (1)). Nor is a release in a changelog's run of version headings that has nothing to note (2.1.0 that only promotes its pre-release). It runs on Markdown only.
|
|
@@ -58,8 +58,8 @@ example:
|
|
|
58
58
|
| Oct 28 | Takahashi | Set the briefing date |
|
|
59
59
|
|
|
60
60
|
not_flagged:
|
|
61
|
-
ja: 一番左の列は見ません(空欄で「上と同じ」を表す書き方があるため)。同じ列に空欄が二つ以上ある列、本文の行が三つより少ない表、「—」「なし」と書いたセルは指しません。合計・小計・税の行(「| 合計 | | | 48,400円 |」)、期間の合計の行(週計)、差し引きで決まる金額の行(総支給額)の数量や単価の空欄も指しません。金額の列(ほかの行がどれも数字を書いている一番右の列)の空欄は指します。合計の語で始まるか終わる見出し、またはコロンで終わる見出しのすぐ後ろの空欄も、その後ろの升が埋まっていれば指しません(元の表で二つの列にまたがっていた見出しを Markdown に直すと、こう空くため。「| 得点合計 | | 8
|
|
62
|
-
en: The first column is not checked, since a blank there often means "same as above". A column with two or more blanks, a table with fewer than three body rows, and a cell holding "—" or "none" are not reported. Nor are the quantity and unit-price blanks of a total, subtotal or tax row ("| Total | | | $612.00 |"), a period total ("Week total") or a computed amount ("Gross pay"); a blank in its amount column (the rightmost column every other row fills with a figure) still is. Nor is a blank right after a label that starts or ends with a total word or ends in a colon, when the cell after it is filled, since a label that spanned two columns in the source table leaves that blank once written as Markdown ("| Total score | | 8 |"). Markdown tables only.
|
|
61
|
+
ja: 一番左の列は見ません(空欄で「上と同じ」を表す書き方があるため)。同じ列に空欄が二つ以上ある列、本文の行が三つより少ない表、「—」「なし」と書いたセルは指しません。合計・小計・税の行(「| 合計 | | | 48,400円 |」)、期間の合計の行(週計)、差し引きで決まる金額の行(総支給額)の数量や単価の空欄も指しません。金額の列(ほかの行がどれも数字を書いている一番右の列)の空欄は指します。合計の語で始まるか終わる見出し、またはコロンで終わる見出しのすぐ後ろの空欄も、その後ろの升が埋まっていれば指しません(元の表で二つの列にまたがっていた見出しを Markdown に直すと、こう空くため。「| 得点合計 | | 8 |」)。場合分けの表の最後の、ほかのどの場合にも当たらないときの行(「上記以外」で始まる行)の条件の空欄も、その後ろの升が埋まっていれば指しません。当てはまる条件が無いからです。Markdown の表でだけ動きます。
|
|
62
|
+
en: The first column is not checked, since a blank there often means "same as above". A column with two or more blanks, a table with fewer than three body rows, and a cell holding "—" or "none" are not reported. Nor are the quantity and unit-price blanks of a total, subtotal or tax row ("| Total | | | $612.00 |"), a period total ("Week total") or a computed amount ("Gross pay"); a blank in its amount column (the rightmost column every other row fills with a figure) still is. Nor is a blank right after a label that starts or ends with a total word or ends in a colon, when the cell after it is filled, since a label that spanned two columns in the source table leaves that blank once written as Markdown ("| Total score | | 8 |"). Nor is a condition left blank in the catch-all row of an if-then table (a row opening with "none of the above" or "otherwise"), when a cell after it is filled, since no condition applies to that row. Markdown tables only.
|
|
63
63
|
rewrite:
|
|
64
64
|
depth: light
|
|
65
65
|
ja:
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
id: enumeration-marker-mix
|
|
2
|
+
layer: L1
|
|
3
|
+
status: stable
|
|
4
|
+
how_to_find: enumeration-marker
|
|
5
|
+
severity: info
|
|
6
|
+
|
|
7
|
+
name:
|
|
8
|
+
ja: 項目の番号の書き方が揃っていない
|
|
9
|
+
en: Item numbers written in mixed forms
|
|
10
|
+
|
|
11
|
+
why:
|
|
12
|
+
ja: 「1.」「2.」と数えてきた並びの中に「3)」や「(3)」が一つ混ざると、読み手はそれが同じ並びの続きなのか、一段下の項目なのか迷います。Markdown は「1.」と「1)」が変わる所でリストを二つに分け、「(1)」「①」「一、」「a.」はリストとして読みません。貼り付けや書き換えの途中でよく起きる形です。どの書き方が正しいかは決めず、一つのリストの同じ深さか、続けて番号を振った段落の並びのうち、少ないほうの書き方で、ほかの番号の続きを数えている項目だけを指します。
|
|
13
|
+
en: A "3)" or "(3)" in a run counted "1.", "2." leaves the reader unsure whether it continues the run or starts a level below. Markdown starts a new list where "1." changes to "1)", and does not read "(1)", "①", "一、" or "a." as a list at all. It is the shape a paste or a half-done rewrite leaves. chaff does not pick a form; in one level of one list, or one run of numbered paragraphs, it points at an item written in the minority form that still counts on with the others.
|
|
14
|
+
|
|
15
|
+
message:
|
|
16
|
+
ja: 番号「{mark}」の書き方が、同じ並びのほかの番号(「{usual}」など {count} 個)と違います
|
|
17
|
+
en: 'The item number "{mark}" is written differently from the rest of its run ("{usual}" and {count} in all)'
|
|
18
|
+
|
|
19
|
+
how_to_fix:
|
|
20
|
+
ja: 並びの多くの番号と同じ書き方に揃えてください。一段下の項目のつもりなら、字下げして 1 から数え直してください。
|
|
21
|
+
en: Write it the way most numbers of the run are written. If it is meant to be a level below, indent it and count it from 1.
|
|
22
|
+
|
|
23
|
+
placeholders:
|
|
24
|
+
mark:
|
|
25
|
+
ja: 番号
|
|
26
|
+
en: the number
|
|
27
|
+
usual:
|
|
28
|
+
ja: ほかの番号
|
|
29
|
+
en: the other number
|
|
30
|
+
count:
|
|
31
|
+
ja: 〇
|
|
32
|
+
en: N
|
|
33
|
+
|
|
34
|
+
levels: { strict: warning, normal: info, relaxed: info }
|
|
35
|
+
|
|
36
|
+
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
37
|
+
|
|
38
|
+
group: consistency
|
|
39
|
+
summary:
|
|
40
|
+
ja: 「1.」「2.」「3)」「4.」のように、一つの並びの項目の番号の書き方が混ざっている所
|
|
41
|
+
en: 'Item numbers mixed in one run: "1.", "2.", "3)", "4."'
|
|
42
|
+
example:
|
|
43
|
+
ja:
|
|
44
|
+
before: |
|
|
45
|
+
申し込みの手順です。
|
|
46
|
+
|
|
47
|
+
1. 申込書を書く
|
|
48
|
+
2. 写真を貼る
|
|
49
|
+
3) 窓口に出す
|
|
50
|
+
4. 受付票を受け取る
|
|
51
|
+
after: |
|
|
52
|
+
申し込みの手順です。
|
|
53
|
+
|
|
54
|
+
1. 申込書を書く
|
|
55
|
+
2. 写真を貼る
|
|
56
|
+
3. 窓口に出す
|
|
57
|
+
4. 受付票を受け取る
|
|
58
|
+
en:
|
|
59
|
+
before: |
|
|
60
|
+
To apply:
|
|
61
|
+
|
|
62
|
+
1. Fill in the form.
|
|
63
|
+
2. Attach a photo.
|
|
64
|
+
3) Hand it in at the desk.
|
|
65
|
+
4. Keep the receipt.
|
|
66
|
+
after: |
|
|
67
|
+
To apply:
|
|
68
|
+
|
|
69
|
+
1. Fill in the form.
|
|
70
|
+
2. Attach a photo.
|
|
71
|
+
3. Hand it in at the desk.
|
|
72
|
+
4. Keep the receipt.
|
|
73
|
+
|
|
74
|
+
not_flagged:
|
|
75
|
+
ja: 1 から数え直す別の書き方の項目(「1.」の下の「(1)」「(2)」、字下げした入れ子)は一段下の並びと読み、比べません。並びの番号が続いていない所(「2.」の次の「(5)」)、項目が三つ未満の並び、二つの書き方が同じ数の並び、見出し・表・引用・コードの中の番号、区切りの記号の無い数(「2 乙は」)は指しません。別の並び(見出しや番号の無い段落で分かれたもの)どうしは比べません。
|
|
76
|
+
en: An item in another form that counts from 1 again ("(1)", "(2)" under "1.", or an indented nested list) is read as a level below and not compared. A number that does not count on ("(5)" after "2."), runs of fewer than three items, a tie between two forms, numbers in headings, tables, quotations and code, and a number with no delimiter ("2 The Tenant") are not reported. Separate runs (split by a heading or an unnumbered paragraph) are not compared with each other.
|
|
77
|
+
rewrite:
|
|
78
|
+
depth: light
|
|
79
|
+
ja:
|
|
80
|
+
direction: 並びの多くの番号と同じ書き方にしてください。番号の書き方だけを替え、項目の言葉と順番は変えません。
|
|
81
|
+
pairs:
|
|
82
|
+
- before: 「1. 申込書を書く」「2. 写真を貼る」「3) 窓口に出す」
|
|
83
|
+
after: 「1. 申込書を書く」「2. 写真を貼る」「3. 窓口に出す」
|
|
84
|
+
- before: 「(1) 甲は」「(2) 乙は」「3. 甲及び乙は」
|
|
85
|
+
after: 「(1) 甲は」「(2) 乙は」「(3) 甲及び乙は」
|
|
86
|
+
keep:
|
|
87
|
+
- 項目の言葉と順番
|
|
88
|
+
- 番号の数
|
|
89
|
+
avoid:
|
|
90
|
+
- 少ないほうの書き方に合わせて、ほかの番号をすべて書き換える
|
|
91
|
+
en:
|
|
92
|
+
direction: Write the number the way most numbers of the run are written. Change only the number's form; keep each item's words and order.
|
|
93
|
+
pairs:
|
|
94
|
+
- before: '"1. Fill in the form.", "2. Attach a photo.", "3) Hand it in."'
|
|
95
|
+
after: '"1. Fill in the form.", "2. Attach a photo.", "3. Hand it in."'
|
|
96
|
+
- before: '"(a) the Tenant", "(b) the Landlord", "c. the Agent"'
|
|
97
|
+
after: '"(a) the Tenant", "(b) the Landlord", "(c) the Agent"'
|
|
98
|
+
keep:
|
|
99
|
+
- each item's words and order
|
|
100
|
+
- the numbers themselves
|
|
101
|
+
avoid:
|
|
102
|
+
- rewriting every other number to match the odd one
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
id: filler-word
|
|
2
|
+
layer: L2
|
|
3
|
+
status: stable
|
|
4
|
+
how_to_find: filler-word
|
|
5
|
+
word_list: filler-word
|
|
6
|
+
severity: warning
|
|
7
|
+
|
|
8
|
+
name:
|
|
9
|
+
ja: 残ったつなぎの言葉
|
|
10
|
+
en: Filler word left in
|
|
11
|
+
|
|
12
|
+
why:
|
|
13
|
+
ja: 「ええと」「まあ、」のようなつなぎの言葉は、話すときに考える間を埋める声です。文字起こしから作った議事録やメモに残ると、読む人にとっては中身の無い字が増えるだけで、書き言葉の記録に見えません。
|
|
14
|
+
en: Fillers such as "um" and "you know" fill the pauses of speech while the speaker thinks. Left in minutes or notes made from a transcript, they are words with nothing in them for the reader, and the record no longer reads as written.
|
|
15
|
+
|
|
16
|
+
message:
|
|
17
|
+
ja: 「{matched}」は話すときのつなぎの言葉です(文書に {count} 個)
|
|
18
|
+
en: '"{matched}" is a spoken filler ({count} in the document)'
|
|
19
|
+
|
|
20
|
+
how_to_fix:
|
|
21
|
+
ja: つなぎの言葉を消し、残った文が言っていることだけを書いてください。
|
|
22
|
+
en: Delete the filler and keep only what the sentence says.
|
|
23
|
+
|
|
24
|
+
levels: { strict: 1, normal: 1, relaxed: 2 }
|
|
25
|
+
|
|
26
|
+
use_for: [business, legal, docs, academic, literature, speech]
|
|
27
|
+
off_for:
|
|
28
|
+
legal: "A contract or a statute is drafted, not transcribed: a filler there is a quotation of speech."
|
|
29
|
+
academic: "A paper is drafted, not transcribed: a filler there quotes a speaker or an interview."
|
|
30
|
+
literature: "A character's speech keeps its fillers."
|
|
31
|
+
speech: "A transcript keeps the speaker's words, fillers as spoken."
|
|
32
|
+
|
|
33
|
+
group: wording
|
|
34
|
+
summary:
|
|
35
|
+
ja: 文字起こしから作った議事録やメモに残った「ええと」「まあ、」のようなつなぎの言葉
|
|
36
|
+
en: Fillers such as "um" or "you know" left in minutes made from a transcript
|
|
37
|
+
example:
|
|
38
|
+
ja:
|
|
39
|
+
before: ええと、次回の定例は来週の火曜日に決まりました。
|
|
40
|
+
after: 次回の定例は来週の火曜日に決まりました。
|
|
41
|
+
en:
|
|
42
|
+
before: Um, the next review is on Tuesday.
|
|
43
|
+
after: The next review is on Tuesday.
|
|
44
|
+
|
|
45
|
+
not_flagged:
|
|
46
|
+
ja: 一覧にある語だけを見ます。「まあ」「なんか」「あの」「えー」は、文の頭か読点の後ろに立ち、後ろに読点か「…」が続くときだけ数えるので、「まあまあの出来」「あの件」「これなんかどうか」は指しません。鉤括弧や引用符の中の言葉は、人が言ったとおりに引いたものなので指しません。ビジネス文書と手引きのジャンルだけで動き、話し言葉の記録(speech/transcript)のように、言ったとおりに残す文書では動きません。
|
|
47
|
+
en: Only the words on chaff's list are checked. "er", "you know" and "I mean" count only at the head of a sentence or after a comma and followed by a comma, an ellipsis or a dash, so "as you know" and "I mean it" are not reported. Words inside quotation marks are someone's words quoted as said, and are not reported. The rule runs only in business documents and documentation; a verbatim record such as speech/transcript keeps what was said.
|
|
48
|
+
level_meaning:
|
|
49
|
+
ja: つなぎの言葉が {limit} 個あれば指摘
|
|
50
|
+
en: reported once there {limit|is|are} {limit} {limit|filler|fillers}
|
|
51
|
+
rewrite:
|
|
52
|
+
depth: light
|
|
53
|
+
ja:
|
|
54
|
+
direction: つなぎの言葉(ええと、まあ、なんか)を消してください。文の中身は変えません。
|
|
55
|
+
pairs:
|
|
56
|
+
- before: まあ、費用は来月に見直すということで合意しました。
|
|
57
|
+
after: 費用は来月に見直すことで合意しました。
|
|
58
|
+
- before: 見積もりは、なんか、来週の月曜日に届きます。
|
|
59
|
+
after: 見積もりは来週の月曜日に届きます。
|
|
60
|
+
keep:
|
|
61
|
+
- 決まったこと、数字、誰が何をするか
|
|
62
|
+
avoid:
|
|
63
|
+
- つなぎの言葉を別の接続詞に置き換えて、元に無いつながりを足す
|
|
64
|
+
en:
|
|
65
|
+
direction: Delete the fillers (um, uh, you know). Do not change what the sentence says.
|
|
66
|
+
pairs:
|
|
67
|
+
- before: So, um, we agreed to review the budget next month.
|
|
68
|
+
after: We agreed to review the budget next month.
|
|
69
|
+
- before: The quote, you know, comes on Monday.
|
|
70
|
+
after: The quote comes on Monday.
|
|
71
|
+
keep:
|
|
72
|
+
- the decisions, the figures and who does what
|
|
73
|
+
avoid:
|
|
74
|
+
- replacing a filler with a connective that adds a link the speaker did not make
|
|
@@ -46,8 +46,8 @@ example:
|
|
|
46
46
|
申込は2024年4月10日までです。説明会は2024年4月3日と2024年4月5日に開きます。
|
|
47
47
|
|
|
48
48
|
not_flagged:
|
|
49
|
-
ja: 鉤括弧で引いたもの、項目と注の番号(「1.」「(1)」「※1」)、箇条書きの頭の番号、版の番号の続き(TLS1.2 の 2)、注や URL を含む文、文書の頭の日付の行(更新日:令和7年9月27日)、番号の札(TEL:03…)、アポストロフィでつないだ英字の語のかけら(Van't Hoff の t)は数えません。小文字を含む半角の英語の語(AI for Science の for と Science)は、英字の書き方の票には入れますが、少ないほうとしては指摘しません。英語の語は、略語を全角で書く文書でも半角で書くためです。英字一字・英字の語・数字一字・数字の並びは別々に比べるので、「1桁は全角、2桁以上は半角」はそろっていると見ます。英字一字と数字を違う幅で書いた並び(Q5、H30)は、Q と 5 に分けてそれぞれの組で数えます。ほかの混ざった並び(IoT)は数えません。三桁ごとに区切った数(5,500)は一つの数で、5 を一桁の数とは数えません。見出しからは、英字一字と数字を違う幅で書いた並び(### Q5:…)だけを本文と同じに数え、ほかの英数字(## 1 概要)と文書の頭の題(# …Q&A)は数えません。多いほうが電話番号一つ(0570 - 064 -
|
|
50
|
-
en: Quotations in brackets, item and note numbers (1., (1), ※1), a number at the head of a list item, the rest of a version number (the 2 of TLS1.2), a date line at the head of the document (更新日:令和7年9月27日), the label of a number (TEL:03…), a piece of a word joined by an apostrophe (the t of Van't Hoff), and notes or sentences with a URL are not counted. A half-width English word with lower case (the for and Science of AI for Science) counts toward the document's way of writing letters but is never reported itself, since English words stay half-width even where acronyms are full-width. Single letters, words, single digits and longer numbers are compared separately, so "one digit full-width, more digits half-width" counts as consistent. A single letter and a number written in different widths (Q5, H30) are split, and Q and 5 each count in their own group; other mixed runs (IoT) are not counted. A number grouped in thousands (5,500) is one number, so its 5 is not a single digit. From headings, only a single letter and a number written in different widths (### Q5:…) count like the text; other letters and digits in headings (## 1 概要) and the title at the head of the document (# …Q&A) do not. When the usual way rests only on the groups of one phone number (0570 - 064 - 556), that is the number's own way of writing, and the other way is not reported. Nor is the item number of an annual securities report (4【経営者による…】) counted. Digits inside numbers of table cells run together (8,45795.7 for 8,457 and 95.7) count toward the document's way of writing but are never reported, since the cell boundary cannot be seen and the 8 cannot be read as a single digit. Where the usual way of writing words rests on one word alone (BAR), a different word (DELICATE) is not reported as the minority; the same word written the other way (BAR) still is. Neither way is called right.
|
|
49
|
+
ja: 鉤括弧で引いたもの、項目と注の番号(「1.」「(1)」「※1」)、箇条書きの頭の番号、版の番号の続き(TLS1.2 の 2)、注や URL を含む文、文書の頭の日付の行(更新日:令和7年9月27日)、番号の札(TEL:03…)、アポストロフィでつないだ英字の語のかけら(Van't Hoff の t)は数えません。小文字を含む半角の英語の語(AI for Science の for と Science)は、英字の書き方の票には入れますが、少ないほうとしては指摘しません。英語の語は、略語を全角で書く文書でも半角で書くためです。英字一字・英字の語・数字一字・数字の並びは別々に比べるので、「1桁は全角、2桁以上は半角」はそろっていると見ます。英字一字と数字を違う幅で書いた並び(Q5、H30)は、Q と 5 に分けてそれぞれの組で数えます。ほかの混ざった並び(IoT)は数えません。三桁ごとに区切った数(5,500)は一つの数で、5 を一桁の数とは数えません。見出しからは、英字一字と数字を違う幅で書いた並び(### Q5:…)だけを本文と同じに数え、ほかの英数字(## 1 概要)と文書の頭の題(# …Q&A)は数えません。多いほうが電話番号一つ(0570 - 064 - 556)の組だけなら、それはその番号の書き方なので、少ないほうを指摘しません。有価証券報告書の項目の番号(4【経営者による…】)も数えません。「全角英数字(A、1等)」のように書き方の名前の後ろの括弧に挙げた例と、日付で始まる箇条書きの項目(- 平成25年8月23日…~8月30日運用開始~)の日付に続けた題(報道発表やお知らせの一覧が出したときのまま引いた題)も数えません。表のセルの数字が続いてしまったもの(8,457 と 95.7 の 8,45795.7)の中の並びは、書き方の票には入れますが、少ないほうとしては指摘しません。セルの切れ目が見えず、8 を一桁の数と読めないためです。全角の英字の語が一つの語(BAR)しかない文書では、別の語(DELICATE)を少ないほうとして指摘しません(同じ語を半角で書いた BAR は指摘します)。どちらの書き方が正しいかは決めません。
|
|
50
|
+
en: Quotations in brackets, item and note numbers (1., (1), ※1), a number at the head of a list item, the rest of a version number (the 2 of TLS1.2), a date line at the head of the document (更新日:令和7年9月27日), the label of a number (TEL:03…), a piece of a word joined by an apostrophe (the t of Van't Hoff), and notes or sentences with a URL are not counted. A half-width English word with lower case (the for and Science of AI for Science) counts toward the document's way of writing letters but is never reported itself, since English words stay half-width even where acronyms are full-width. Single letters, words, single digits and longer numbers are compared separately, so "one digit full-width, more digits half-width" counts as consistent. A single letter and a number written in different widths (Q5, H30) are split, and Q and 5 each count in their own group; other mixed runs (IoT) are not counted. A number grouped in thousands (5,500) is one number, so its 5 is not a single digit. From headings, only a single letter and a number written in different widths (### Q5:…) count like the text; other letters and digits in headings (## 1 概要) and the title at the head of the document (# …Q&A) do not. When the usual way rests only on the groups of one phone number (0570 - 064 - 556), that is the number's own way of writing, and the other way is not reported. Nor is the item number of an annual securities report (4【経営者による…】) counted. Nor are examples in brackets after the name of a width (全角英数字(A、1等), "full-width letters and digits (A, 1, etc.)"), or the title after the date of a list item that opens with one (- 平成25年8月23日…~8月30日運用開始~), which a list of press releases or notices quotes as it was published. Digits inside numbers of table cells run together (8,45795.7 for 8,457 and 95.7) count toward the document's way of writing but are never reported, since the cell boundary cannot be seen and the 8 cannot be read as a single digit. Where the usual way of writing words rests on one word alone (BAR), a different word (DELICATE) is not reported as the minority; the same word written the other way (BAR) still is. Neither way is called right.
|
|
51
51
|
level_meaning:
|
|
52
52
|
ja: 少ないほうが組の {limit}% 以下のとき指摘
|
|
53
53
|
en: reported when the minority form is {limit}% of its group or less
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
id: heading-marker-no-space
|
|
2
|
+
layer: L1
|
|
3
|
+
status: stable
|
|
4
|
+
how_to_find: heading-marker-no-space
|
|
5
|
+
requires: [markdown]
|
|
6
|
+
severity: warning
|
|
7
|
+
|
|
8
|
+
name:
|
|
9
|
+
ja: 「#」の後ろに空白が無く、見出しにならない
|
|
10
|
+
en: No space after the heading marks
|
|
11
|
+
|
|
12
|
+
why:
|
|
13
|
+
ja: Markdown の見出しは、「#」と言葉のあいだに空白が要ります。「#見出し」「##手順」のように空白を抜くと、見出しにならず、「#」の付いた本文の一行として表示されます。目次にも画面読み上げにも載らず、見出しへのリンクも張れません。空白を入れない書き方に慣れた日本語の文書で特に起きます(markdownlint の MD018 と MD020)。
|
|
14
|
+
en: 'A Markdown heading needs a space between its "#" marks and its words. Without it ("#Overview", "##Steps"), the line is not a heading: it shows as a line of text with the marks in it, missing from the table of contents and from what a screen reader announces, and no link can point at it (markdownlint''s MD018 and MD020).'
|
|
15
|
+
|
|
16
|
+
message:
|
|
17
|
+
ja: 「{marker}{heading}」は「{marker}」の後ろに空白が無く、見出しになりません
|
|
18
|
+
en: '"{marker}{heading}" has no space after "{marker}" and is not a heading'
|
|
19
|
+
|
|
20
|
+
how_to_fix:
|
|
21
|
+
ja: 「#」の後ろに空白を一つ入れてください(「##手順」を「## 手順」に)。見出しでなく、タグや番号として書いたものなら、行の頭から外してください。
|
|
22
|
+
en: 'Put one space after the marks ("##Steps" becomes "## Steps"). If the line is a tag or a number rather than a heading, move it off the start of the line.'
|
|
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 line like "##Steps", with no space after the marks, that is not a heading'
|
|
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: "「#」の後ろが字でない行(電話の短縮番号「#9110」、「#1」のような番号、「#!」)、コード・箇条書き・表・引用の中の行は指しません。「#」が一つだけの行はタグ(「#chaff」)と同じ書き方なので、それだけで一つの段落になっていて、文書がほかに見出しを書いているときだけ指します。小文字の英語一語で始まるもの(「#chaff」「#include」「#fff」)と、タグを並べた行(「#chaff #lint」)は指しません。"
|
|
79
|
+
en: 'A line where no letter follows the marks (a number such as "#123", "#!"), and a line in code, a list, a table or a quotation, are not reported. One mark is also how a tag is written ("#chaff"), so a one-mark line is reported only when it is a paragraph on its own and the document writes headings elsewhere; one that opens with a lower-case English word ("#chaff", "#include", "#fff"), or a row of tags ("#chaff #lint"), is not reported.'
|
|
@@ -39,8 +39,8 @@ example:
|
|
|
39
39
|
The release is late — very late.
|
|
40
40
|
|
|
41
41
|
not_flagged:
|
|
42
|
-
ja: "語と語のあいだのものだけを見ます。箇条書きの印の「- 」、数の範囲(1 - 2)、語の中のハイフン(well-known)、コードは見ません。番号の付いたまとまりの見出しで、番号と題を分けるハイフン(PART I - THE AGENCIES GENERALLY)も見ません。ダッシュの字(— や –)を一つも使わない文書の「--」は、その文書のダッシュの打ち方(文字だけの規格文書、Markdown で -- をダッシュにする書き方)なので見ません。写したものの中の区切りも見ません。印刷どおりに引いた札や掲示の、大文字の前のハイフン(“Unhelpful - Post needs no note”)、番号の付いた文献の一覧の行([12] … My robot friend - a study)、項目の値の短い名前(Category の後ろの Office Space - Monthly)、ログやボットの行(URL、exit_code=99、sre.mediawiki.restart を含む行、<bot> で始まる行)、文字として見えている HTML のタグです。名前に大文字の一語をつなぐハイフン(Iraq and Syria - Khorasan
|
|
43
|
-
en: 'Only between words. A list marker ("- "), a number range ("1 - 2"), a hyphen inside a word ("well-known") and code are not reported. Nor is the hyphen that sets a numbered division''s label apart from its title in a heading ("PART I - THE AGENCIES GENERALLY"). Nor is "--" in a document that sets no dash as a character (— or –), where it is how the document types its dash, as plain-text standards and Markdown typographers do. Nor is a separator in copied text: before a capital inside a quotation that reproduces a label or a sign ("Unhelpful - Post needs no note"), in a numbered reference entry ([12] … My robot friend - a study), in a short name given as a field''s value (Office Space - Monthly after Category and a colon), in a log or bot line (one that holds an address, a setting such as exit_code=99 or a dotted name such as sre.mediawiki.restart, or starts with <bot>), and inside an HTML tag shown as text. Nor is a hyphen that joins one capitalised word onto a name ("Iraq and Syria - Khorasan,"). The literature presets turn it off, since older printed texts set the dash as "--".'
|
|
42
|
+
ja: "語と語のあいだのものだけを見ます。箇条書きの印の「- 」、数の範囲(1 - 2)、語の中のハイフン(well-known)、コードは見ません。番号の付いたまとまりの見出しで、番号と題を分けるハイフン(PART I - THE AGENCIES GENERALLY)も見ません。ダッシュの字(— や –)を一つも使わない文書の「--」は、その文書のダッシュの打ち方(文字だけの規格文書、Markdown で -- をダッシュにする書き方)なので見ません。写したものの中の区切りも見ません。印刷どおりに引いた札や掲示の、大文字の前のハイフン(“Unhelpful - Post needs no note”)、番号の付いた文献の一覧の行([12] … My robot friend - a study)、項目の値の短い名前(Category の後ろの Office Space - Monthly)、ログやボットの行(URL、exit_code=99、sre.mediawiki.restart を含む行、<bot> で始まる行)、文字として見えている HTML のタグです。名前に大文字の一語をつなぐハイフン(Iraq and Syria - Khorasan,、太字で書いた **OneDrive - Fernwood** フォルダ)も見ません。文学の文書では既定で止めています(古い版がダッシュを「--」で組むため)。"
|
|
43
|
+
en: 'Only between words. A list marker ("- "), a number range ("1 - 2"), a hyphen inside a word ("well-known") and code are not reported. Nor is the hyphen that sets a numbered division''s label apart from its title in a heading ("PART I - THE AGENCIES GENERALLY"). Nor is "--" in a document that sets no dash as a character (— or –), where it is how the document types its dash, as plain-text standards and Markdown typographers do. Nor is a separator in copied text: before a capital inside a quotation that reproduces a label or a sign ("Unhelpful - Post needs no note"), in a numbered reference entry ([12] … My robot friend - a study), in a short name given as a field''s value (Office Space - Monthly after Category and a colon), in a log or bot line (one that holds an address, a setting such as exit_code=99 or a dotted name such as sre.mediawiki.restart, or starts with <bot>), and inside an HTML tag shown as text. Nor is a hyphen that joins one capitalised word onto a name ("Iraq and Syria - Khorasan,", a folder set in bold as **OneDrive - Fernwood**). The literature presets turn it off, since older printed texts set the dash as "--".'
|
|
44
44
|
level_meaning:
|
|
45
45
|
ja: "{limit} 箇所あれば指摘"
|
|
46
46
|
en: reported once there {limit|is|are} {limit}
|
|
@@ -47,8 +47,8 @@ example:
|
|
|
47
47
|
after: The two reports are separate documents.
|
|
48
48
|
|
|
49
49
|
not_flagged:
|
|
50
|
-
ja: 語彙表にない誤りは指しません。どちらも使われる書き方(コンピュータ/コンピューター、エンターテイメント/エンターテインメント)は誤りとせず、表記ゆれの rule に任せます。語の途中の同じ字の並び(「ですすべて」)と、チームが names
|
|
51
|
-
en: Misspellings not in the lexicon are not reported. Spellings that are both in use (British and American, judgement and judgment) are left to the consistency rules. A form inside a longer word ("teh" in "Tehran") and words listed under names in chaff.yaml are not reported.
|
|
50
|
+
ja: 語彙表にない誤りは指しません。どちらも使われる書き方(コンピュータ/コンピューター、エンターテイメント/エンターテインメント)は誤りとせず、表記ゆれの rule に任せます。語の途中の同じ字の並び(「ですすべて」)と、チームが names に並べた語は指しません。英語では、1800 年ごろより前の綴り(publick、shew)で書いた文書の、その時代の綴りだった語(maintainance)も指しません。
|
|
51
|
+
en: Misspellings not in the lexicon are not reported. Spellings that are both in use (British and American, judgement and judgment) are left to the consistency rules. A form inside a longer word ("teh" in "Tehran") and words listed under names in chaff.yaml are not reported. Nor is a spelling that was standard before about 1800 (maintainance) in a document written in that age's orthography (publick, shew).
|
|
52
52
|
rewrite:
|
|
53
53
|
depth: light
|
|
54
54
|
ja:
|
package/rules/latin-spacing.yaml
CHANGED
|
@@ -34,8 +34,8 @@ name:
|
|
|
34
34
|
en: Spacing around Latin text is inconsistent
|
|
35
35
|
|
|
36
36
|
why:
|
|
37
|
-
ja: 日本語と英字・数字のあいだを空けるか詰めるかは、どちらでも読めます。困るのは一つの文書の中で混ざることで、読み手には違いに意味があるように見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。英字と、数字の前、数字の後ろは別々に数えます。「を 3回」のように、数字の前は空けて助数詞とは詰める書き方がふつうにあるからです。「3GBの」のように数字に続く単位は、英字ではなく数字の側として数えます。逆に「H30 等」「EC2 で」「Phase 1 は」のように英字で始まって数字で終わる名前は、英字の側として数えます。「073-489-5909」「2026-06-02」のような番号や、「1.0.0」のような版番号は数量ではないので数えません。日付・時刻(「9月」「2026年」「令和8年」「10月1日」「3時」「10時5分」)も、数と単位を詰めて書く決まりなので、その中の境目も、前の境目(「は 9月」「午後3時」)も数えません。コロンで書いた時刻(「13:30」「後の17:15から」)も同じです。メールアドレスや URL(「privacy@example.com で」)の前後の空白は、アドレスの終わりを示す区切りなので数えません。予約番号や型番のような番号(「予約番号 MN-48215 を」「型番 SB-210 と」)の前後の空白も、番号を文から区切るものなので数えません。長さ(「3ヶ月」「3 時間」「5日で」「3年」)は数量として数えます。題や注の番号として書かれた数(「3.1 リサーチの原則」の節番号、※1 の注番号、行の頭に続き番号で並べた注の番号、番号が増えていく箇条書きの頭の番号、「問3」「図2」のように語のすぐ後ろに書いた番号)、0 で始まる組を含む番号(102-0094)、〒の後ろの郵便番号(〒100-8916)、市・区・町まで下りた地名のすぐ後ろの番地(千代田区紀尾井町1-3)も、後ろの空白が番号と題・項目の区切りなので数えません。建物の名前の後ろに空白で区切って書いた階や部屋の番号(「本社 5階 第2会議室」「研究所 3階 セミナー室」)の前の空白も、所在の組の区切りなので数えません。名前だけを空白で並べた行(「株式会社あおば電子 経営企画部 IR担当」「東京本社 PR室」)で、空白の両側が部署・拠点・役目や会社の名前のときの空白も、名前と名前の区切りなので数えません。「第1節 AI の…」の「第1節」の後ろの空白も同じです。桁の区切りの無い 6 桁以上の番号(「口座番号 3056172 を」)、ナンバープレート(「ひばり野 330 ね 48-15」)の前後と中の空白、「所属:経済学部 経済学科 1年」「振込先:みなと銀行 普通 1234567」のように項目名とコロンの後ろに値の組を並べた行で、組と組のあいだの空白も、値の区切りなので数えません。「最高速度 40km/h」「(内線 3839)」「- 定員 30名」のように、短い項目名と値を空白一つで並べただけの組の、名と値のあいだの空白も同じです(「定員 30
|
|
38
|
-
en: Whether to put a space between Japanese and Latin letters or digits is a choice either way. What reads badly is mixing both in one document, which suggests the difference means something. chaff does not decide which is right; it points at whichever the document uses less. Letters, the space before a digit and the space after one are counted separately, since spacing before a number but not before its counter is common. A unit after a number (3GB) counts with the number; a name that starts with a letter and ends in a digit (H30, EC2, Phase 1) counts with the letters. A code such as a phone number, a date or a version (073-489-5909, 2026-06-02, 1.0.0) is not a quantity and is not counted. Nor is a date or a time written with units (9月, 2026年, 令和8年, 10月1日, 3時, 10時5分), which is packed by convention; neither its inside nor the space before it (は 9月, 午後3時) counts. The same goes for a clock time written with a colon (13:30). Nor is the space beside an e-mail address or a URL (privacy@example.com で), which marks where the address ends, or beside a booking or model number (予約番号 MN-48215 を, 型番 SB-210 と), which sets the number off from the sentence. A length of time (3ヶ月, 3 時間, 5日で, 3年) is a quantity and counts. Neither is a number written as the label of a title or a note (a section number such as 3.1 before its title, a note number after ※, the numbers of notes listed one per line in sequence, numbers opening the items of a list that go up, a number written right after a word such as 問 or 図), a code with a part starting with 0 (102-0094), a postal code after 〒 (〒100-8916), or a hyphenated address number right after a city, ward or town (千代田区紀尾井町1-3), since the space after it separates the label from its title or the next item. Nor is the space before a floor or room number written after the name of a building (本社 5階 第2会議室), which separates the parts of a location. Nor is the space between names on a line of names alone (株式会社あおば電子 経営企画部 IR担当, 東京本社 PR室), when both sides are names of a department, an office, a role or a company, since it separates one name from the next. The same goes for the space after a division such as 第1節. Nor is the space beside a code of six digits or more written without separators (口座番号 3056172 を), around and inside a number plate (ひばり野 330 ね 48-15), or between the parts of a value after a label and a colon (所属:経済学部 経済学科 1年, 振込先:みなと銀行 普通 1234567), which separates the parts of the value. The same goes for the space between a short label and its value written as a pair on their own (最高速度 40km/h, (内線 3839), - 定員 30名); in a sentence (定員 30名で行います) it counts. Nor is the spacing inside a title or a quotation in 「」, 『』 or “”, inside the text of a link, or on a line of a bibliographic entry (佐藤翔. Title. Journal. 2019, (26), p. 136-147.), which is the source's, not the writer's. When both ways are used equally often there is no minority, so no place is singled out, and a one-to-one tie is not reported.
|
|
37
|
+
ja: 日本語と英字・数字のあいだを空けるか詰めるかは、どちらでも読めます。困るのは一つの文書の中で混ざることで、読み手には違いに意味があるように見えます。chaff はどちらが正しいかを決めず、文書の中で少ないほうを指摘します。英字と、数字の前、数字の後ろは別々に数えます。「を 3回」のように、数字の前は空けて助数詞とは詰める書き方がふつうにあるからです。「3GBの」のように数字に続く単位は、英字ではなく数字の側として数えます。逆に「H30 等」「EC2 で」「Phase 1 は」のように英字で始まって数字で終わる名前は、英字の側として数えます。「073-489-5909」「2026-06-02」のような番号や、「1.0.0」のような版番号は数量ではないので数えません。日付・時刻(「9月」「2026年」「令和8年」「10月1日」「3時」「10時5分」)も、数と単位を詰めて書く決まりなので、その中の境目も、前の境目(「は 9月」「午後3時」)も数えません。コロンで書いた時刻(「13:30」「後の17:15から」)も同じです。メールアドレスや URL(「privacy@example.com で」)の前後の空白は、アドレスの終わりを示す区切りなので数えません。予約番号や型番のような番号(「予約番号 MN-48215 を」「型番 SB-210 と」)の前後の空白も、番号を文から区切るものなので数えません。長さ(「3ヶ月」「3 時間」「5日で」「3年」)は数量として数えます。題や注の番号として書かれた数(「3.1 リサーチの原則」の節番号、※1 の注番号、行の頭に続き番号で並べた注の番号、番号が増えていく箇条書きの頭の番号、「問3」「図2」のように語のすぐ後ろに書いた番号)、0 で始まる組を含む番号(102-0094)、〒の後ろの郵便番号(〒100-8916)、市・区・町まで下りた地名のすぐ後ろの番地(千代田区紀尾井町1-3)も、後ろの空白が番号と題・項目の区切りなので数えません。建物の名前の後ろに空白で区切って書いた階や部屋の番号(「本社 5階 第2会議室」「研究所 3階 セミナー室」)の前の空白も、所在の組の区切りなので数えません。名前だけを空白で並べた行(「株式会社あおば電子 経営企画部 IR担当」「東京本社 PR室」)で、空白の両側が部署・拠点・役目や会社の名前のときの空白も、名前と名前の区切りなので数えません。「第1節 AI の…」の「第1節」の後ろの空白も同じです。桁の区切りの無い 6 桁以上の番号(「口座番号 3056172 を」)、ナンバープレート(「ひばり野 330 ね 48-15」)の前後と中の空白、「所属:経済学部 経済学科 1年」「振込先:みなと銀行 普通 1234567」のように項目名とコロンの後ろに値の組を並べた行で、組と組のあいだの空白も、値の区切りなので数えません。「最高速度 40km/h」「(内線 3839)」「- 定員 30名」のように、短い項目名と値を空白一つで並べただけの組の、名と値のあいだの空白も同じです(「定員 30名で行います」のように文の中にあれば数えます)。「または」「及び」でつないだ短い項目名(「社会福祉士または介護支援専門員 1人」)も同じです。前後を空けて一字だけ書いた英字(「(アイ) I を小文字の(エル) l に」)の前後も、見分けてほしい字を離して書いたものなので数えません。鉤括弧(「」『』)や引用符(“”)で引いた題名や発言の中も、リンクの文字の中も、文献の記載の行(「佐藤翔. 題. 誌名. 2019, (26), p. 136-147.」)も、空け方は引いた元のものなので数えません。空けた所と詰めた所が同じ数なら、少ないほうが無いので 1 箇所ずつは指さず、1 対 1 なら何も言いません。
|
|
38
|
+
en: Whether to put a space between Japanese and Latin letters or digits is a choice either way. What reads badly is mixing both in one document, which suggests the difference means something. chaff does not decide which is right; it points at whichever the document uses less. Letters, the space before a digit and the space after one are counted separately, since spacing before a number but not before its counter is common. A unit after a number (3GB) counts with the number; a name that starts with a letter and ends in a digit (H30, EC2, Phase 1) counts with the letters. A code such as a phone number, a date or a version (073-489-5909, 2026-06-02, 1.0.0) is not a quantity and is not counted. Nor is a date or a time written with units (9月, 2026年, 令和8年, 10月1日, 3時, 10時5分), which is packed by convention; neither its inside nor the space before it (は 9月, 午後3時) counts. The same goes for a clock time written with a colon (13:30). Nor is the space beside an e-mail address or a URL (privacy@example.com で), which marks where the address ends, or beside a booking or model number (予約番号 MN-48215 を, 型番 SB-210 と), which sets the number off from the sentence. A length of time (3ヶ月, 3 時間, 5日で, 3年) is a quantity and counts. Neither is a number written as the label of a title or a note (a section number such as 3.1 before its title, a note number after ※, the numbers of notes listed one per line in sequence, numbers opening the items of a list that go up, a number written right after a word such as 問 or 図), a code with a part starting with 0 (102-0094), a postal code after 〒 (〒100-8916), or a hyphenated address number right after a city, ward or town (千代田区紀尾井町1-3), since the space after it separates the label from its title or the next item. Nor is the space before a floor or room number written after the name of a building (本社 5階 第2会議室), which separates the parts of a location. Nor is the space between names on a line of names alone (株式会社あおば電子 経営企画部 IR担当, 東京本社 PR室), when both sides are names of a department, an office, a role or a company, since it separates one name from the next. The same goes for the space after a division such as 第1節. Nor is the space beside a code of six digits or more written without separators (口座番号 3056172 を), around and inside a number plate (ひばり野 330 ね 48-15), or between the parts of a value after a label and a colon (所属:経済学部 経済学科 1年, 振込先:みなと銀行 普通 1234567), which separates the parts of the value. The same goes for the space between a short label and its value written as a pair on their own (最高速度 40km/h, (内線 3839), - 定員 30名); in a sentence (定員 30名で行います) it counts. The same goes for short labels joined by または or 及び (社会福祉士または介護支援専門員 1人). Nor is the space around a single Latin letter set apart on both sides ((アイ) I を小文字の(エル) l に), which shows a character to tell apart from others. Nor is the spacing inside a title or a quotation in 「」, 『』 or “”, inside the text of a link, or on a line of a bibliographic entry (佐藤翔. Title. Journal. 2019, (26), p. 136-147.), which is the source's, not the writer's. When both ways are used equally often there is no minority, so no place is singled out, and a one-to-one tie is not reported.
|
|
39
39
|
|
|
40
40
|
message:
|
|
41
41
|
ja: "日本語と{kind}のあいだを{style}(この文書はふつう{usual}。{of} 箇所のうち {count} 箇所が違う)"
|
|
@@ -73,8 +73,8 @@ example:
|
|
|
73
73
|
表は Excel で作り、Word に貼ります。図は PowerPoint で描きます。最後に PDF にします。
|
|
74
74
|
|
|
75
75
|
not_flagged:
|
|
76
|
-
ja: 電話番号や日付のような番号、版番号(1.0.0)、予約番号や型番(MN-48215)の前後、単位つきの日付や時刻(9月、10時5分)、AM・PM を付けた時刻(9:30AM)の後ろ、建物の名前の後ろに空白で区切った階や部屋の番号(本社 5階)の前、名前だけを並べた行の名前と名前のあいだ(経営企画部 IR
|
|
77
|
-
en: Codes such as phone numbers, dates and version numbers (1.0.0), the spaces beside a booking or model number (MN-48215), dates and times with units (9月, 10時5分), the space after a time with AM or PM (9:30AM), the space before a floor or room number after the name of a building (本社 5階), the space between names on a line of names alone (経営企画部 IR担当), the spaces beside a code of six digits or more or a number plate, the space between the parts of a value after a label and a colon (所属:経済学科 1年), the space between a label and its value (Bronzeプラン 10万円 (税込)), the spaces around an English word joining Japanese phrases (名前 or メッセージ), the boundary before a suffix bound to a Latin word (PDF版, IT化), the boundary after a channel or handle name (#pj_oss-team, @sato), heading numbers, the space after an item number at the head of a line (一 JIS…), the space after a figure or table label alone at the head of a line (表 6種類の…), the space before an organisation's name that holds spaces on a line of names alone (初等中等教育局 GIGA StuDX(…)推進チーム), quotations in 「」 and “”, a line of a bibliographic entry, the spaces beside the numbers of a table of numbers a converter ran together, the text of links and a licence notice the publisher appends at the end (a short closing paragraph that names a licence and links to its terms) are not counted. Neither way is called right. When the less common way is more than a fifth of the places (and at least five), or both ways are used equally at two places or more each, it is reported once, as a document written two ways, rather than place by place. A one-to-one tie is not reported.
|
|
76
|
+
ja: 電話番号や日付のような番号、版番号(1.0.0)、予約番号や型番(MN-48215)の前後、単位つきの日付や時刻(9月、10時5分)、AM・PM を付けた時刻(9:30AM)の後ろ、建物の名前の後ろに空白で区切った階や部屋の番号(本社 5階)の前、名前だけを並べた行の名前と名前のあいだ(経営企画部 IR担当)、英字の肩書きと、行の終わりまでの人の名前のあいだ(代表取締役CEO 森川 遼)、6 桁以上の番号やナンバープレートの前後、項目名とコロンの後ろの値の組のあいだ(所属:経済学科 1年)、項目名と値のあいだ(Bronzeプラン 10万円 (税込))、日本語の句をつなぐ英語の語の前後(名前 or メッセージ)、英字の語に付けた接尾の語(PDF版、IT化)の前、チャンネルや宛先の名前(#pj_oss-team、@sato)の後ろ、見出しの番号、行の頭の項目の番号(「一 JIS…」の一、イ)の後ろ、行の頭に図表の札だけを書いた後ろ(表 6種類の…)、名前だけを並べた行の空白を含む組織の名前の前(初等中等教育局 GIGA StuDX(…)推進チーム)、「」と“”の中、文献の記載の行、変換で区切りが消えて一続きになった数の表の数の前後、リンクの文字の中、文書の最後に掲載先が付けた利用条件の断り書き(ライセンスの名前と条件の URL を書いた短い段落)は数えません。どちらの空け方が正しいかは決めません。少ないほうが全体の 2 割を超えるほど多ければ(5 箇所以上)、また二通りが 2 箇所以上ずつの同数なら、1 箇所ずつではなく、書き方が二通りあることを 1 件で言います。1 対 1 の同数は言いません。
|
|
77
|
+
en: Codes such as phone numbers, dates and version numbers (1.0.0), the spaces beside a booking or model number (MN-48215), dates and times with units (9月, 10時5分), the space after a time with AM or PM (9:30AM), the space before a floor or room number after the name of a building (本社 5階), the space between names on a line of names alone (経営企画部 IR担当), the space between a title in letters and the person's name that ends the line (代表取締役CEO 森川 遼), the spaces beside a code of six digits or more or a number plate, the space between the parts of a value after a label and a colon (所属:経済学科 1年), the space between a label and its value (Bronzeプラン 10万円 (税込)), the spaces around an English word joining Japanese phrases (名前 or メッセージ), the boundary before a suffix bound to a Latin word (PDF版, IT化), the boundary after a channel or handle name (#pj_oss-team, @sato), heading numbers, the space after an item number at the head of a line (一 JIS…), the space after a figure or table label alone at the head of a line (表 6種類の…), the space before an organisation's name that holds spaces on a line of names alone (初等中等教育局 GIGA StuDX(…)推進チーム), quotations in 「」 and “”, a line of a bibliographic entry, the spaces beside the numbers of a table of numbers a converter ran together, the text of links and a licence notice the publisher appends at the end (a short closing paragraph that names a licence and links to its terms) are not counted. Neither way is called right. When the less common way is more than a fifth of the places (and at least five), or both ways are used equally at two places or more each, it is reported once, as a document written two ways, rather than place by place. A one-to-one tie is not reported.
|
|
78
78
|
level_meaning:
|
|
79
79
|
ja: 少ないほうの空け方が {limit} 箇所あれば指摘
|
|
80
80
|
en: reported once {limit} {limit|place goes|places go} against the document's habit
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
id: link-definition-unused
|
|
2
|
+
layer: L1
|
|
3
|
+
status: stable
|
|
4
|
+
how_to_find: link-definition-unused
|
|
5
|
+
requires: [markdown]
|
|
6
|
+
severity: warning
|
|
7
|
+
|
|
8
|
+
name:
|
|
9
|
+
ja: 使われないリンクの定義
|
|
10
|
+
en: Link definition that does nothing
|
|
11
|
+
|
|
12
|
+
why:
|
|
13
|
+
ja: |-
|
|
14
|
+
Markdown の参照の形のリンク([資料][1])は、文書のどこかの「[1]: URL」の行から行き先を取ります。どのリンクも呼ばない定義は、表示されず何もしません。リンクの文字を書き換えた、リンクを消した、名前を打ち間違えたときに残り、書いたはずのリンクが本文から消えていることを示します。同じ名前をもう一度、別の行き先で定義した行も、Markdown は最初の定義を使って黙って捨てます(markdownlint の MD053、remark-lint の no-unused-definitions・no-duplicate-definitions)。
|
|
15
|
+
en: |-
|
|
16
|
+
A reference-style Markdown link ("[report][1]") takes its address from a "[1]: URL" line somewhere in the document. A definition no link calls is not shown and does nothing. It is left behind when a link's text was changed, the link was removed, or its label was mistyped, and it shows that a link the writer meant to give is missing from the text. A second definition of the same label with another address is silently ignored too: Markdown uses the first one (markdownlint's MD053; remark-lint's no-unused-definitions and no-duplicate-definitions).
|
|
17
|
+
|
|
18
|
+
message:
|
|
19
|
+
ja: リンクの定義「{label}」を使うリンクがありません
|
|
20
|
+
en: 'No link uses the definition "{label}"'
|
|
21
|
+
|
|
22
|
+
messages:
|
|
23
|
+
unused:
|
|
24
|
+
ja: リンクの定義「{label}」を使うリンクがありません
|
|
25
|
+
en: 'No link uses the definition "{label}"'
|
|
26
|
+
duplicate:
|
|
27
|
+
ja: 「{label}」は前にも定義されていて({url})、この行き先は使われません
|
|
28
|
+
en: '"{label}" is already defined ({url}); this address is never used'
|
|
29
|
+
|
|
30
|
+
how_to_fix:
|
|
31
|
+
ja: 本文でそのリンクを使うつもりだったなら、リンクの名前を定義と同じにしてください([資料][{label}])。要らなくなった定義なら消してください。二度目の定義は、どちらの行き先が正しいかを決めて一つにします。
|
|
32
|
+
en: If the text was meant to link there, make the link's label match the definition ("[report][{label}]"). If the definition is no longer needed, delete it. For a second definition, decide which address is right and keep one.
|
|
33
|
+
|
|
34
|
+
placeholders:
|
|
35
|
+
label:
|
|
36
|
+
ja: 名前
|
|
37
|
+
en: label
|
|
38
|
+
url:
|
|
39
|
+
ja: URL
|
|
40
|
+
en: URL
|
|
41
|
+
|
|
42
|
+
levels: { strict: error, normal: warning, relaxed: info }
|
|
43
|
+
|
|
44
|
+
use_for: [business, technical, blog, legal, docs, academic, literature, speech]
|
|
45
|
+
|
|
46
|
+
group: structure
|
|
47
|
+
summary:
|
|
48
|
+
ja: |-
|
|
49
|
+
どのリンクも使わない「[名前]: URL」の定義と、別の行き先で二度書いた定義
|
|
50
|
+
en: |-
|
|
51
|
+
A "[label]: URL" definition no link uses, or one defined twice to two places
|
|
52
|
+
example:
|
|
53
|
+
ja:
|
|
54
|
+
before: |
|
|
55
|
+
申し込みの方法は[案内][guide]を見てください。
|
|
56
|
+
|
|
57
|
+
[guide]: https://example.com/guide
|
|
58
|
+
[form]: https://example.com/form
|
|
59
|
+
after: |
|
|
60
|
+
申し込みの方法は[案内][guide]を見て、[申込書][form]から送ってください。
|
|
61
|
+
|
|
62
|
+
[guide]: https://example.com/guide
|
|
63
|
+
[form]: https://example.com/form
|
|
64
|
+
en:
|
|
65
|
+
before: |
|
|
66
|
+
See the [guide][guide] for how to apply.
|
|
67
|
+
|
|
68
|
+
[guide]: https://example.com/guide
|
|
69
|
+
[form]: https://example.com/form
|
|
70
|
+
after: |
|
|
71
|
+
See the [guide][guide] for how to apply, and send the [form][form].
|
|
72
|
+
|
|
73
|
+
[guide]: https://example.com/guide
|
|
74
|
+
[form]: https://example.com/form
|
|
75
|
+
|
|
76
|
+
not_flagged:
|
|
77
|
+
ja: |-
|
|
78
|
+
同じ行き先での二度目の定義(表示は変わりません)、注の形(「[^1]: …」は footnote-mismatch が見ます)、コメントとして書いた定義(「[//]: # (メモ)」)、見出しのすぐ下に置いたその見出しの名前(「[summary]: #summary」)、定義だけの文書(他のページが読み込む定義の一覧)、引用の中の定義は指しません。定義の無い参照の形のリンクは broken-link が指します。
|
|
79
|
+
en: |-
|
|
80
|
+
A second definition with the same address (nothing changes on screen), notes ("[^1]: …", which footnote-mismatch checks), a definition written as a comment ("[//]: # (note)"), an anchor written under its own heading ("[summary]: #summary"), a document of nothing but definitions (a list other pages include) and definitions inside quotations are not reported. A reference-style link with no definition is reported by broken-link.
|
|
81
|
+
rewrite:
|
|
82
|
+
depth: light
|
|
83
|
+
ja:
|
|
84
|
+
direction: 定義を使うリンクを本文に戻すか、要らない定義を消してください。二度書いた定義は、正しい行き先の一つにします。
|
|
85
|
+
pairs:
|
|
86
|
+
- before: |-
|
|
87
|
+
「[form]: https://example.com/form」(本文に「[…][form]」が無い)
|
|
88
|
+
after: 本文の「申込書」を「[申込書][form]」にする
|
|
89
|
+
- before: |-
|
|
90
|
+
「[terms]: https://example.com/terms」と「[terms]: https://example.com/terms-old」の二つ
|
|
91
|
+
after: |-
|
|
92
|
+
正しい行き先の「[terms]: https://example.com/terms」だけを残す
|
|
93
|
+
keep:
|
|
94
|
+
- リンクの行き先
|
|
95
|
+
avoid:
|
|
96
|
+
- 使うつもりだったリンクの定義を、確かめずに消す
|
|
97
|
+
en:
|
|
98
|
+
direction: Put the link that uses the definition back into the text, or delete a definition that is no longer needed. Keep one address for a label defined twice.
|
|
99
|
+
pairs:
|
|
100
|
+
- before: '"[form]: https://example.com/form" (no "[form]" in the text)'
|
|
101
|
+
after: '"send the form" written as "send the [form][form]"'
|
|
102
|
+
- before: '"[terms]: https://example.com/terms" and "[terms]: https://example.com/terms-old"'
|
|
103
|
+
after: 'only "[terms]: https://example.com/terms", the right address'
|
|
104
|
+
keep:
|
|
105
|
+
- the link addresses
|
|
106
|
+
avoid:
|
|
107
|
+
- deleting a definition the text meant to use without checking
|