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

Prettierに従わなくてもいい場合

208355d7af69fa84a78048f78077048a?s=47 sosukesuzuki
June 28, 2021
2.3k

 Prettierに従わなくてもいい場合

https://nodejs.connpass.com/event/215218/ の発表資料です。すべて個人の意見です。

208355d7af69fa84a78048f78077048a?s=128

sosukesuzuki

June 28, 2021
Tweet

Transcript

  1. 1SFUUJFSʹ ैΘͳͯ͘΋͍͍৔߹ NodeֶԂ 36࣌ݶ໨ ΦϯϥΠϯ

  2. "CPVUNF w 4PTVLF4V[VLJ w ஜ೾େֶ৘ใֶ܈৘ใՊֶྨ w $ZCP[VϑϩϯτΤϯυΤΩεύʔτνʔ Ϝ w 1SFUUJFS$PSF5FBN

    w #BCFM5FBN w IUUQTUXJUUFSDPN@@TPTVLFTV[VLJ w IUUQTHJUIVCDPNTPTVLFTV[VLJ
  3. 1SFUUJFSͱ͸ w IUUQTQSFUUJFSJP w IUUQTUXJUUFSDPN1SFUUJFS$PEF w 5IF0QJOJPOBUFE$PEF'PSNBUUFS w Φϓγϣϯ͕গͳ͍ͷ͕ಛ௃ w

    +BWB4DSJQUɺ5ZQF4DSJQUɺ$44ɺ)5.- ౳ͷݴޠʹରԠ͍ͯ͠Δ
  4. ࢖ΘΕ͍ͯΔ OQNͷXFFLMZEPXOMPBET 4UBUFPG+4

  5. ैΘΕ͍ͯΔ wʮ࠷ۙ͸೴ࢮͰQSFUUJFSʹै͏೿ʹͳΓ·ͨ͠ɻʯ wʮ೴ࢮͰԶʹ͍͍ͭͯ͜ʂ͍ͬͯ͏ͷ͕QSFUUJFSͳΜͩͳʯ wʮ1SFUUJFSͷϑΥʔϚοτ͸৴པײ͕͋ͬͯೲಘ͍͔ͳ͍ͱ͜Ζ΋1SFUUJFS ༷͕ͦ͏ݴ͏ͷͰͨ͠ΒʜʜΈ͍ͨͳؾ࣋ͪʹͳΔ͚Ͳߦ಄Χοί͚ͩ͸ ڐͤͳ͍ʯ wʮQSFUUJFS༷͕നͱݴͬͨΒࠇ΋ന͘ͳΔʯ 5XJUUFS͔Β

  6. ैΘΕ͍ͯΔ 5XJUUFS͔Β

  7. ʮैΘͳ͚Ε͹͍͚ͳ͍ʯ ͱ͍͏͜ͱ͸ͳ͍

  8. 1SFUUJFSʹैΘͳͯ͘΋Α͍̏ͭͷέʔε w 1SFUUJFS͕ϓϩάϥϚʔͷҙਤΛղऍͰ͖ͳ͍৔߹ w 1SFUUJFS͕໌Β͔ʹόά͍ͬͯΔ৔߹ w 1SFUUJFS͕όά͍ͬͯΔ͔΋͠Εͳ͍৔߹

  9. 1SFUUJFS͕ϓϩάϥϚʔͷҙਤ ΛղऍͰ͖ͳ͍৔߹

  10. ҙਤΛղऍͰ͖ͳ͍͜ͱ͕͋Δ w 1SFUUJFS͸ߏจΛݟΔ w ϓϩάϥϚʔͷҙਤΛղऍͰ͖ͳ͍͜ͱ͕͋Δ w ྫߦྻΛ࡞Δؔ਺

  11. ରॲQSFUUJFSJHOPSFίϝϯτ w QSFUUJFSJHOPSFίϝϯτΛ࢖͏ w ͦͷίϝϯτͷ࣍ͷϊʔυΛແࢹ͢ΔΑ͏ʹͳΔ w IUUQTQSFUUJFSJPEPDTFOJHOPSFIUNM

  12. 1SFUUJFS͕໌Β͔ʹ όάͬͯΔ৔߹

  13. 1SFUUJFSʹ͸ଟ͘ͷόά͕͋Δ

  14. ݴޠػೳ΁ͷରԠ͕଍Γ͍ͯͳ͍ w 5ZQF4DSJQUͷ৽͍͠ߏจͳͲͰϦϦʔεϊʔτʹݴٴ͕ͳ͍৔߹͸ͦΕ ʹ௥ैͰ͖͍ͯͳ͍৔߹͕͋Δ w ྫ5ZQF4DSJQUͷ1BSBNFUFS1SPQFSUZͰͷPWFSSJEFम০ࢠͷରԠ w 1SFUUJFSΛϦϦʔε͔ͯ͠Βଘࡏʹؾ͍ͮͯɺύονϦϦʔεͰର Ԡͨ͠

  15. ख͕଍Βͳ͍ w όάͬͯΔ͜ͱʹ͸ؾ͕͍͍ͭͯͯ΋ٕज़తͳ೉қ౓ͷߴ͞΍Ϧιʔεෆ ଍Ͱमਖ਼Ͱ͖͍ͯͳ͍͜ͱ͕͋Δ

  16. ରॲ(JU)VCͰͷͳΜΒ͔ͷ൓Ԡ w *TTVFͷ࡞੒ɾίϝϯτɾ*TTVFίϝϯτ΁ͷ👍 w ༏ઌ౓Λ͚ͭ΍͍͢ w ʮݱ࣮ʹى͖͍ͯΔ໰୊ͳΜͩʯͱೝࣝ͞Ε͸΍͘मਖ਼͞ΕΔՄೳੑ͕͋ Δ w ΋ͪΖΜ13Λ࡞ͬͯ΋͍͍

  17. 1SFUUJFS͕όά͍ͬͯΔ ͔΋͠Εͳ͍৔߹

  18. όάͳͷ͔Θ͔Βͳ͍ڍಈ w Ұݟ͚ͨͩ͠Ͱ͸໰୊ͳͦ͞͏͕ͩɺΑ͘ߟ͑ͨΒಡΈʹ͍͘ w ΍΍ಡΈʹ͍͕͘ɺ͜Ε͕1SFUUJFSͷྲّྀͳΜ͡Όͳ͍ͩΖ͏͔

  19. ޙ͔ΒόάͱΈͳ͞Εमਖ਼͞Εͨྫ  

  20. ରॲ(JU)VCͰͷͳΜΒ͔ͷ൓Ԡ w *TTVFͷ࡞੒ɾίϝϯτɾ*TTVFίϝϯτ΁ͷ👍 w ཁ๬Λ஌Δ͜ͱ͕Ͱ͖Δ w IUUQTQSFUUJFSJPEPDTFOSBUJPOBMFIUNMʹ͍ΘΏΔ1SFUUJFSͷྲّྀ ͱͦͷࠜڌ͕ॻ͍ͯ͋Δ w ΋ͪΖΜ13Λ࡞ͬͯ΋͍͍

  21. 1SFUUJFSΛ࢖͏໨త͸ ʮνʔϜ಺ͰίʔσΟϯάελΠϧʹؔ ͢Δٞ࿦Λͳ͘͢ʯ͜ͱ

  22. ͔͠͠ɺ1SFUUJFS಺Ͱ͸ ͦ͏͍͏ٞ࿦Λͯ͠Α͍

  23. ·ͱΊ w QSFUUJFSJHOPSFίϝϯτΛ࢖͓͏ w όάͬͯͨΒ👍͚ͩͰ͍͍ͷͰ(JU)VC্ͰϦΞΫγϣϯΛ͠Α͏ w 1SFUUJFS಺Ͱ͸ίʔσΟϯάελΠϧʹ͍ͭͯٞ࿦ͯ͠ྑ͍ w ߹ཧੑ͕͋Ε͹