Redmine Wiki Page Formatter, as an extension to RuboCop.
Just install the rubocop-redmine_wiki_formatter
gem
gem install rubocop-redmine_wiki_formatter
or if you use bundler put this in your Gemfile
gem 'rubocop-redmine_wiki_formatter', require: false
You need to tell RuboCop to load the RedmineWikiFormatter extension. There are three ways to do this:
Put this into you .rubocop.yml
.
require: redmine_wiki_formatter
Now you can run rubocop --format RuboCop::Formatter::RedmineWikiFormatter
and it will automaticly format the output
to Redmine's Wiki format.
rubocop --require redmine_wiki_formatter --format RuboCop::Formatter::RedmineWikiFormatter
RuboCop::RakeTask.new do |task|
task.requires << 'redmine_wiki_formatter'
task.options = ['--format', 'RuboCop::Formatter::RedmineWikiFormatter']
end
rubocop-redmine_wiki_formatter
is MIT licensed.