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

commit message 絶対統一させるマン

7a505b4e9b90548d96971b37dc07e761?s=47 Tyankatsu
September 12, 2018

commit message 絶対統一させるマン

ベガコーポレーション
tyankatsu(山本勝也)

7a505b4e9b90548d96971b37dc07e761?s=128

Tyankatsu

September 12, 2018
Tweet

More Decks by Tyankatsu

Other Decks in Technology

Transcript

  1. commit message ઈର౷Ұͤ͞ΔϚϯ

  2. ࣗݾ঺հ • νϟϯΧπ(@tyankatsu5) • 7݄~ ϕΨίʔϙϨʔγϣϯ • લɿwebσβΠφʔ
 ࠓɿϑϩϯτΤϯυΤϯδχΞ •

    ۀ຿Ͱ͸vue৮ͬͯΔ • ޮ཰Խେ޷͖Ϛϯ
  3. Youͷϝοηʔδϧʔϧ ͲΜͳͷʁ

  4. commit message ruleͱ͍͑͹ • angular • atom • The Seven

    Rules • Conventional Commits etc…
  5. angular <type>(<scope>): <subject> <BLANK LINE> <body> <BLANK LINE> <footer> Allowed

    <type> values: - build - ci - docs - feat - fix - perf - refactor - style - test
  6. Format is ͍͍Ͷʂ

  7. atom Consider starting the commit message with an applicable emoji:

    :art: when improving the format/structure of the code :racehorse: when improving performance :non-potable_water: when plugging memory leaks :memo: when writing docs :penguin: when fixing something on Linux :apple: when fixing something on macOS :checkered_flag: when fixing something on Windows :bug: when fixing a bug :fire: when removing code or files :green_heart: when fixing the CI build ✅ :white_check_mark: when adding tests :lock: when dealing with security ⬆ :arrow_up: when upgrading dependencies ⬇ :arrow_down: when downgrading dependencies :shirt: when removing linter warnings
  8. emoji is ͍͍Ͷʂ

  9. ͡Ό͋͜Ε͸ʁ

  10. angular + atom docs(README.md): :fire: ෆཁͳهड़࡟আ ࢖ΘΕ͍ͯͳ͍Φϓγϣϯ͕هࡌ͞Εͨ··ͩͬͨͷͰ࡟আ close #12

  11. angular + atom docs(README.md): ෆཁͳهड़࡟আ feat: prettierಋೖ test(hoge.spec.js): ςετमਖ਼ perf:

    ϞδϡʔϧͷόʔδϣϯΞοϓΛҰ੪ʹ࣮ࢪ feat: eslintಋೖ feat: stylelintಋೖ
  12. ݟ΍͍͢ ςϯγϣϯ্͕Δ ※ݸਓతͳҙݟͰ͢

  13. Ͱ΋λΠϙා͍

  14. doc: :fier: ෆཁͳهड़࡟আ # docs: :fire: ෆཁͳهड़࡟আ style +1: lintΛ͔͚ͯΠϯσϯτमਖ਼

    # style: :+1: lintΛ͔͚ͯΠϯσϯτमਖ਼
  15. ؾʹͳΔ

  16. ๷͛͹͍͍ΜͰ͢Α https://github.com/tyankatsu0105/git- cooperate-with-the-node

  17. ࢖ͬͨ΍ͭ • commitizen messageΛର࿩ॲཧͰ࡞੒ • husky commitlintΛNFTTBHFΛॻ͍ͨ͋ͱʹ૸ΒͤΔ • commitlint messageͷॻࣜνΣοΫ

    • NPMLifeCycleEvent scriptͷॱ൪؅ཧ • CircleCI ݀࠹͗ • generate-changelog • okonet/lint-staged(prettier,eslint,stylelint)
  18. None
  19. ໨ࢦ͢΂͖ϑΥʔϚοτ docs(README.md): :fire: ෆཁͳهड़࡟আ ࢖ΘΕ͍ͯͳ͍Φϓγϣϯ͕هࡌ͞Εͨ··ͩͬͨͷͰ࡟আ close #12

  20. ग़དྷͨ΍ͭ

  21. ࣗྗͰॻ͍ͯϛεͬͨ৔߹

  22. ֦ுͨ͠ͱ͜Ζ commitizen • cz-conventional-changelog-ja Λࢀߟʹɺ
 emoji߲໨Λ௥Ճ • ίϛοτϝοηʔδॻ͖ऴΘͬͨ͋ͱʹϩά Λग़ྗ͢ΔΑ͏ʹػೳ௥Ճ

  23. None
  24. ͜͜

  25. git commit --no-verify

  26. message “hogehoge” ແࣄ௨ա

  27. ͷͨΊͷCI

  28. None
  29. ͋ɺ

  30. https://www.npmjs.com/package/cz- format-extension

  31. ͓ΘΓ