= RubomaticHtml
Gem for shared html linting for BrandsInsurance.
== Installation
Add this line to your application's Gemfile:
[source,ruby]
gem 'rubomatic-html', require: false
And then execute:
$ bundle install
Or install it yourself as:
$ gem install rubomatic-html
== Usage
Run the following command, from your project root
[source,shell]
rubomatic-html
Or
[source,shell]
bundle exec rubomatic-html
To ignore specific files, create .rubomatic-html.yml
[source,yaml]
AllCops:
Enabled: true
Exclude:
- app/views/layouts/partials/_dropzone_preview_template.html.erb
- app/views/shared/_global_email.html.erb
- app/views/shared/_global_email_text.text.erb
Layout/LineLength:
Enabled: true
Layout/MultipleLineBreaks:
Enabled: true
Layout/TrailingWhitespace:
Enabled: true
Style/PartialInstanceVariable:
Enabled: true
== Departments
- xref:./docs/cops/layout/README.adoc[
Layout
] - xref:./docs/cops/style/README.adoc[
Style
]
== Changelog
See xref:./CHANGELOG.adoc[CHANGELOG] see see changes