Skip to content

incubus/rubocop-teamcity-formatter

Repository files navigation

rubocop-teamcity-formatter

Build Status Report RuboCop offences as TeamCity Service Messages

Usage

Add to Gemfile, for example:

group :development do
  gem 'rubocop-teamcity-formatter', git: 'https://github.com/govtechsg/rubocop-teamcity-formatter.git', require: false
end

When running rubocop for Teamcity:

TEAMCITY_FMT_PATH="`bundle show rubocop-teamcity-formatter`/lib/rubocop/formatter/teamcity-formatter.rb"
bundle exec rubocop -r ${TEAMCITY_FMT_PATH} --format RuboCop::Formatter::TeamCityFormatter

Contributing

See CONTRIBUTING.md for how to send issues and pull requests

About

Report RuboCop offences as TeamCity Service Messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages