Skip to content

「The --fix option on the command line can automatically fix」の「command line」のリンクのハッシュは古いのでは? #6

Closed
@ota-meshi

Description

@ota-meshi

こんにちは。
どこでissue書いていいのか分からないついでにこのリポジトリに興味持ったので、こちらでissue書かせていただきます!

自動修正可能なルールのdocs(例えばここ)に以下のような記述がありますが、

The --fix option on the command line can automatically fix some of the problems reported by this rule.

この「command line」部分のリンク先は、
https://eslint.org/docs/user-guide/command-line-interface#fix

となっていますが、これは本来、

https://eslint.org/docs/user-guide/command-line-interface#fixing-problems

https://eslint.org/docs/user-guide/command-line-interface#--fix
を意図していたのではないでしょうか?

全てのドキュメントを確認したわけではないので、もしかすると限定的なものかもしれませんが少なくとも以下は#fixとなっていました。
https://eslint.org/docs/rules/no-extra-boolean-cast
https://eslint.org/docs/rules/no-extra-parens
https://eslint.org/docs/rules/no-extra-semi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions