Meguro.rb LT - codeclimate を 1 年ぐらい使ってみて

7122c60ffbd141b7ddccb2703ef9c977?s=47 gaooh
March 23, 2017

Meguro.rb LT - codeclimate を 1 年ぐらい使ってみて

7122c60ffbd141b7ddccb2703ef9c977?s=128

gaooh

March 23, 2017
Tweet

Transcript

  1. CODECLIMATE Λ̍೥͘Β͍࢖ͬͯΈͯ @gaooh

  2. WHO ARE YOUʁ @gaooh ( ΨΦʔ ) Viibar͔Βདྷ·ͨ͠ɻ ೣͱϏʔϧͱRuby͕޷͖Ͱ͢ɻ

  3. AGENDA code climate ͱ͸ code climate Λಋೖ͢Δ·Ͱͷมભ code climate ͱͷ޲͖߹͍ํ

  4. CODE CLIMATE ͱ͸ ίʔυͷ੩తղੳΛઐ໳ʹߦͬͯ͘ΕΔαʔϏε Φʔϓϯιʔε͸ແྉ͕ͩɺprivateͳϦϙδτϦ͸ ༗ྉ $20.00 per seat /

    month ( ೔ׂΓͯ͘͠ΕΔ༏͠͞͸͋Δ) ࠷ۙͩͱ SideCIͱ͍͏બ୒ࢶ΋͋Γ·͢Ͷ
  5. RUBY ON CODE CLIMATE rubocop brakeman reek bundler-audit

  6. FRONTEND coffeelint scss-lint eslint

  7. None
  8. طଘͷrubocop.yml΍eslintrcͷઃఆ΋Ճຯͯ͘͠ΕΔ codeclimate.ymlͰ͞Βʹ্ॻ͖΋Ͱ͖Δ

  9. None
  10. ܯࠂͷཧ༝΍ରॲྫ΋αΠτ্Ͱ֬ೝͰ͖Δ IssueΛνέοτ؅ཧγεςϜͱ࿈ܞͰ͖Δ ਂ෵ͳཧ༝͕͋Δͱ͖͸ແޮʹ΋Ͱ͖Δ

  11. None
  12. ಋೖ·Ͱͷมભ 1 ৭ʑॻ͖ํʹ͹Β͖͕ͭग़ͯίʔυϨϏϡʔʹஓ੿ͳϨ Ϗϡʔ͕૿͑࢝ΊͨͷͰrubocopΛಋೖ ( Lv.1 ) CircleCIͰ΋νΣοΫ͠Α͏ʂ ( Lv.

    3 ) ruby Λ΍Γ࢝ΊΔͱ౰વϑϩϯτ΋ ( Lv. 5 ) brakemanͱ͔΋ೖΕ͍ͨΑͶʂͨͩطଘ͕͋Δ͠νΣοΫ ͚ͩͶ( Lv. 8 )
  13. ๚ΕΔ҉Ӣ CircleCIͰrubocop͸མͪͯ΋ςετ͸௨͍ͨ͠Μ͚ͩͲ ͦ΋ͦ΋CIʹ͕͔͔࣌ؒΔͷͰશ෦͔͚ΔͷͰ͸ͳࠩ͘෼͚͔ͩ ͚Α͏ ʮbrakemanʯͱ͔ຖճνΣοΫ͍Δʁ Τϥʔग़͍ͯΔͷ͸Θ͔Δ͚ͲݪҼΘ͔Γʹ͍͘ΑͶ reactΛೖΕͯΈ͍ͨΜ͚ͩͲeslint͕

  14. ಋೖ·Ͱͷมભ 2 ͩΜͩΜ໘౗ʹͳ͖ͬͯͨɻ ͨͩҎԼͷཧ༝ʹΑΓ౤ࢿ͍ͨ͠ อकੑ ॻ͖ํʹ໎Θͳ͍͜ͱʹΑΔޮ཰Խ΋ॏཁ ϨϏϡʔෛՙΛԼ͛Δ෭࣍ޮՌ΋͋Δ

  15. ޲͖߹͍ํ GPAʹҰتҰ༕͠ͳ͍ lint ઃఆ͸͖ͪΜͱ౎౓ݟ௚͢ ʮcodeclimateʹౖΒΕ͔ͨΒʯͱ͍͏ίϛοτίϝϯτʹ ΋ͪΌΜͱ޲͖߹͏ ϑΝΠϧ੔ཧ΍revertͳͲ͕ཧ༝ͰҾ͔͔ͬͬͨ࣌ͷϧʔϧ ͸ܾΊ͓ͯ͘

  16. ·ͱΊ codeclimateΦεεϝͰ͢ ಋೖޙʹ͋·Γӡ༻ͰࠔΔ͜ͱ΋ͳ͔ͬͨ ίʔυϨϏϡʔ΋ָ Ұํఆண͢Δͱٯʹඍົͳͱ͜΋໨ΛᛉΒΕ͕ͪͳͷͰఆ ظతʹݟ௚͠͸ඞཁ

  17. ઈࢍΤϯδχΞืूதʂ