Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RuboCop Philosophy

Koichi ITO
February 25, 2023

RuboCop Philosophy

プログラミング言語Ruby 30周年イベント ライトニングトーク
https://30.ruby.or.jp/

Koichi ITO

February 25, 2023
Tweet

More Decks by Koichi ITO

Other Decks in Programming

Transcript

  1. .F

  2. w 3VCP$PQ͸3VCZ4UZMF(VJEFͷϥϯλΠϜ࣮૷ w ॳظʹ໨ࢦͨ͠ͷ͸HPGNUతͳେ౷ҰϑΥϚολʔ w 3VCZίϛϡχςΟʹ͸ڝ߹͢ΔελΠϧ΍޷Έ͕͋Δ͜ ͱʹؾͮ͘ FHμϒϧΫΥʔτɺγϯάϧΫΥʔτ  w

    ҰൠతͳελΠϧΛߏ੒Մೳʹ͢ΔΑ͏ʹͳΔ w ελΠϧΨΠυΛσϑΥϧτͱͭͭ͠ɺ޷Έͷҧ͍Λड ͚ೖΕΔͱ͍͏఩ֶʹجͮ͘Α͏ʹͳΔ 3VCP$PQͷ఩ֶαϚϦʔ
  3. w ·ͭ΋ͱ͞Μ؂म  w 3VCZͷ਌ͱ͍͏͜ͱ͸Ѫ৘͸ੈքҰ   w DisabledByDefault: trueϕʔεͷ֦ுHFN

    w ϧʔϧ $PQ ͸ແݶʹ૿͍͍͑ͯͬͯΔͷͰɺ ϛχϚϜͷελʔλʔΩοτΑ͏ͳ΋ͷʹͳΓ ͦ͏ .BU[$PQͷ͝ఏҊ