$30 off During Our Annual Pro Sale. View Details »

RuboCop Custom Formatter for Reviewdog Diagnost...

RuboCop Custom Formatter for Reviewdog Diagnostic Format

gotanda.rb#53 "RuboCop Custom Formatter for Reviewdog Diagnostic Format"

Masato Ohba

June 21, 2023
Tweet

More Decks by Masato Ohba

Other Decks in Programming

Transcript

  1.  SFWJFXEPHBDUJPOSVCPDPQ 3VCP$PQͱSFWJFXEPHΛ౷߹͢Δ (JU)VCDVTUPNBDUJPO 3VCP$PQͷࢦఠ಺༰Λίϝϯτͯ͠ ͘ΕΔͷͰɺ࣮ߦͨ͠δϣϒͷϩά Λݟʹߦ͔ͳͯ͘΋Α͍ EJ ff ʹର͚ͯͩ͠ίϝϯτͤ͞Δ͜ͱ

    ͕Ͱ͖Δ SFWJFXEPHBDUJPOSVCPDPQ ͱ͸ʁ SVCPDPQίϚϯυ͸શମʹର࣮ͯ͠ߦ͞Εɺ݁ՌΛSFWJFXEPHଆͰ fi MUFS͍ͯ͠Δ DPNNFOUͰ͖ΔͷͰ EJTDVTTJPO΋Մೳ
  2.  Ξϓϩʔν w SFWJFXEPH$-*͸3VCP$PQ౳ͷϝδϟʔͳMJOUFSͷग़ྗΛQBSTFͰ ͖Δ͏͑ɺ3FWJFXEPH%JBHOPTUJD'PSNBU 3%'PSNBU ͱ͍͏ಠ ࣗͷೖྗܗࣜ΋༻ҙ͍ͯ͠Δ w ˠͲΜͳMJOUFSͰ΋ग़ྗΛGPSNBU͢Ε͹SFWJFXEPHରԠͰ͖Δ

    w MJOUFSͷσϑΥϧτग़ྗΑΓ΋3%'PSNBUͷ΄͏͕දݱྗ͕ߴ͘ɺ TVHHFTUJPO΋ޙऀͰͳ͍ͱදݱͰ͖ͳ͍ w ˠ3VCP$PQͷग़ྗ͕3%'PSNBUʹͳΔΑ͏੔ܗ͢Ε͹͍͚Δ IUUQTHJUIVCDPNSFWJFXEPHSFWJFXEPHUSFFNBTUFSQSPUPSEG
  3.  DVTUPNGPSNBUUFS࣮૷ ։࢝࣌ͷTUBSUFEͰ)BTIΛੜ੒ ϑΝΠϧ୯ҐͷJOTQFDUऴྃ࣌ͷ fi MF@ fi OJTIFEͰP ff FOTFTΛ

    EJBHOPTUJDTʹม׵ͯ͠٧Ί͍ͯ͘ ऴྃ࣌ͷ fi OJTIFEͰTUEPVUʹग़ྗ IUUQTXXXSVCZEPDJOGPHFNTSVCPDPQ3VCP$PQ'PSNBUUFS#BTF'PSNBUUFS 3VCP$PQ'PSNBUUFS#BTF'PSNBUUFSΛܧঝͨ͠ΫϥεʹϑοΫϝιουΛ࣮૷͢Δ