Skip to content

1.2.1, 4.1.3: 三点リーダを許容する #106

@massongit

Description

@massongit
$ echo "乙女ゲームの破滅フラグしかない悪役令嬢に転生してしまった...。" | npx textlint --stdin

<text>
  1:29  ✓ error  句読点には全角の「、」と「。」を使います。和文の句読点としてピリオド(.)とカンマ(,)を使用しません。  jtf-style/1.2.1.句点(。)と読点(、)
  1:29  ✓ error  和文の句読点としてはピリオドを使用しません。                                                        jtf-style/4.1.3.ピリオド(.)、カンマ(,)

✖ 2 problems (2 errors, 0 warnings)
✓ 2 fixable problems.
Try to run: $ textlint --fix [file]

三点リーダ ( ... ) を使用した場合、 1.2.1.句点(。)と読点(、)4.1.3.ピリオド(.)、カンマ(,) に違反すると出てきます。
しかし、三点リーダは句読点には該当しないため、許容するのが適切と考えられます。

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions