Skip to content

RuboCopの Lint/FlipFlopのコメントを修正できそう #2

Description

@pocke

RuboCopというRubyの静的解析ツールにはflip-flopオペレータの使用を検出するLint/FlipFlopというルールがあります。
そのドキュメントコメントに

flip-flop operator is deprecated since Ruby 2.6.0.

https://github.com/rubocop-hq/rubocop/blob/3be221e4f5619e58b1f56d94b9d08d0e5524489c/lib/rubocop/cop/lint/flip_flop.rb#L7

とあります。
ですが、この警告は2.7では削除されるようです。

https://bugs.ruby-lang.org/issues/5400

なので、この1文を削除したり、もう少し説明を足したりしたほうが良いような気がします。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions