Skip to content

Linting with Niftany

Charlie Morris edited this page Oct 29, 2018 · 1 revision

Niftany is a gem that contains 3 other gems: rubocop, erb-linter and scss-lint. See Niftany's docs for how to work with it.

Documentation for each can be found at:

rubocop
erb-lint
scss-lint

Run bundle exec niftany to run all of the configured tests.

Also, you can modify your git hook pre-commit to run it right before any commit.

Clone this wiki locally