yttrium
v1.0.0
Published
A collection of tools for managing time tracking at Yours.co
Downloads
2
Readme
Yttrium ("Yours Time Tracking" - ium)
A collection of tools for managing time tracking at Yours.co
Installation
We use husky
to trigger commit linting and other operations as needed.
yarn add --dev yoursco/yttrium husky
Commit Message Linter
To install, in package.json
, add:
"scripts": {
"commitmsg": "yttrium-commitsmg-lint"
}
All commits will now require the following syntax on at least one line
/spend <time spent> [on] #<issue number in Github>
Where <time spent>
looks like 1d2h5m20s
and can omit any unit of time
(2h
) but must include at least one unit of time, and they must be in
order of magnitude with no spaces (5m 2d
wouldn't work).
Multiple spend commands can be issued in a single commit, but each line may only reference one issue at a time.