No commit activity in last 3 years
No release in over 3 years
Formatter for Redmine Wiki page. A formatter for the RuboCop tool that outputs in Redmine Wiki markup.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.1
~> 3.2
~> 0.24
 Project Readme

RuboCop Redmine Wiki Formatter

Redmine Wiki Page Formatter, as an extension to RuboCop.

Installation

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

Usage

You need to tell RuboCop to load the RedmineWikiFormatter extension. There are three ways to do this:

RuboCop configuration file

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.

Command line

rubocop --require redmine_wiki_formatter --format RuboCop::Formatter::RedmineWikiFormatter

Rake task

RuboCop::RakeTask.new do |task|
  task.requires << 'redmine_wiki_formatter'
  task.options = ['--format', 'RuboCop::Formatter::RedmineWikiFormatter']
end

License

rubocop-redmine_wiki_formatter is MIT licensed.