Layout cop でコード内に全角文字があるときの誤検知(偽陽性)を修正する · Issue #18 · rubocop/rubocop-jp

ascii = { "a" => 1, "ab" => 2, } fullwidth = { "あ" => 1, "あい" => 2, } $ rubocop --only Layout/SpaceAroundOperators -D hoge.rb Inspecting 1 file C Offenses: hoge.rb:7:9: C: Layout/SpaceAroundOperato...