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

commit message 絶対統一させるマン

Avatar for Tyankatsu Tyankatsu
September 12, 2018

commit message 絶対統一させるマン

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

Avatar for Tyankatsu

Tyankatsu

September 12, 2018
Tweet

More Decks by Tyankatsu

Other Decks in Technology

Transcript

  1. angular <type>(<scope>): <subject> <BLANK LINE> <body> <BLANK LINE> <footer> Allowed

    <type> values: - build - ci - docs - feat - fix - perf - refactor - style - test
  2. 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
  3. angular + atom docs(README.md): ෆཁͳهड़࡟আ feat: prettierಋೖ test(hoge.spec.js): ςετमਖ਼ perf:

    ϞδϡʔϧͷόʔδϣϯΞοϓΛҰ੪ʹ࣮ࢪ feat: eslintಋೖ feat: stylelintಋೖ
  4. ࢖ͬͨ΍ͭ • commitizen messageΛର࿩ॲཧͰ࡞੒ • husky commitlintΛNFTTBHFΛॻ͍ͨ͋ͱʹ૸ΒͤΔ • commitlint messageͷॻࣜνΣοΫ

    • NPMLifeCycleEvent scriptͷॱ൪؅ཧ • CircleCI ݀࠹͗ • generate-changelog • okonet/lint-staged(prettier,eslint,stylelint)