Slimcop

Gem Version test

RuboCop runner for Slim template.

Installation

Add this line to your application's Gemfile:

gem 'slimcop'

And then execute:

bundle install

Or install it yourself as:

gem install slimcop

Usage

Use slimcop executable to check offenses and auto-correct them.

$ slimcop --help
Usage: slimcop [options] [file1, file2, ...]
    -a, --auto-correct               Auto-correct offenses.
        --[no-]color                 Force color output on or off.