-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli: Provide an init command #48
Comments
Another reason: #52 |
I wrote create-semantic-module to help address this setup problem. After jlegrone/create-semantic-module#9 is closed all of your bullet points will be covered with the exception of respecting .editorconfig. 😄 |
@jlegrone |
@marionebl yes! Sorry I meant to reply sooner, I'll be adding a few more issues to the repo to track these as todos. I also plan to add an option to disable creating a |
As seen in #47 setup currently easily allows for errors in documentation and frustration for users. Add an
commitlint init [--extends]
command. It shouldcreate a new
commitlint.config.js
file if needed, preferpackage.json
if availableensure
@commitlint/cli
@commitlint/cli
as neededadd configs provided via
--extends
tomodule.exports.extends
@commitlint/config-conventional
--extends
@commitlint/config-*
as needed--no-config
ensure
husky
--no-husky
add
@commitlint/travis-cli
to.travis.yml
if file is found and not in scripts@commitlint/travis-cli
as needed--no-travis
optional: respect .editorconfig?overkillThe text was updated successfully, but these errors were encountered: