This gem install a git hook into your local repository with one of the code Linters you choose according to your language: java, javascript or swift.
Add this line to your application's Gemfile:
gem 'niceCommit'And then execute:
$ bundle
Or install it yourself as:
$ gem install niceCommit
In the root directory of your project run:
niceCommit LINTER
where LINTER is one of the following:
- checkStyle for java/android.
- swiftLint for Swift.
- eslint for Javascript.
Bug reports and pull requests are welcome on GitHub at https://github.com/sanchezcr/niceCommit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the NiceCommit project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.