Skip to content

blooper05/danger-slim_lint

Repository files navigation

danger-slim_lint

Build Status Dependency Status Maintainability Coverage Version License

A Danger plugin for slim-lint.

Installation

$ gem install danger-slim_lint

Usage

slim_lint

Lints Slim files via slim-lint. Results are sent as inline comments.

Running slim-lint
# Runs slim-lint on modified and added files in the PR
slim_lint.lint

Methods

lint - Runs Slim files through slim-lint.

Development

  1. Clone this repo
  2. Run bundle install to setup dependencies.
  3. Run bundle exec rake spec to run the tests.
  4. Use bundle exec guard to automatically have tests run as you make changes.
  5. Make your changes.