Jlint
Ruby Warp for CheckStyle: https://github.com/checkstyle/checkstyle
Provide more friendly interface for Rubist
Installation
Add this line to your application's Gemfile:
gem 'jlint'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jlint
Dependency
- JRE
Usage
Jlint.lint(content) #=> [[message, line], ...]
Jlint.file_lint(file_path) #=> [[message, line], ...]
# Default it use [sun checks]()
# If Want to custom config
lint = Jlint.new(config_content)
lint.lint(content) #=> [[message, line], ...]
Contributing
- Fork it ( http://github.com//jlint/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request