Skip to content

Automatically lint ERB view files with erb_lint

License

Notifications You must be signed in to change notification settings

windrushlabs/guard-erb_lint

 
 

Repository files navigation

Guard::ErbLint

Automatically lints your ERB view files using Guard and the Shopify/erb_lint gem.

Usage

Add this line to your application's Gemfile:

gem("guard-erb_lint", git: "https://github.com/Driversnote-Dev/guard-erb_lint")

And then execute:

bundle install
bundle exec guard init erb_lint

Or just add the following to your Guardfile:

guard(:erb_lint) do
  watch(/.+\.erb$/)
  watch(/.+\.html$/)
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Driversnote-Dev/guard-erb_lint.

License

The gem is available as open source under the terms of the MIT License.

About

Automatically lint ERB view files with erb_lint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.3%
  • Shell 1.7%