Skip to content

Commit

Permalink
more erblint
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Oct 26, 2019
1 parent f99fc33 commit 26581a0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .erb-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---

linters:
ExtraNewline:
enabled: true

FinalNewline:
enabled: true

SpaceAroundErbTag:
enabled: true

AllowedScriptType:
enabled: true
allowed_types:
- text/javascript
- text/template

Rubocop:
enabled: true

rubocop_config:
AllCops:
DisabledByDefault: true

Style/StringLiterals:
EnforcedStyle: double_quotes

Layout/SpaceInsideHashLiteralBraces:
Enabled: true
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ env:
script:
- cd $GEM;
- bundle exec rubocop
- bundle exec erblint **/app/{cells,views}/**/*.erb
- bundle exec erblint app/{cells,views}/**/*.erb
- bundle exec rake test_app
- SIMPLECOV=1 CODECOV=1 bundle exec rake
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://travis-ci.org/Platoniq/decidim-module-navigation_maps.svg?branch=master)](https://travis-ci.org/Platoniq/decidim-module-navigation_maps)
[![Maintainability](https://api.codeclimate.com/v1/badges/f69b2b0ab0ffcd26f002/maintainability)](https://codeclimate.com/github/Platoniq/decidim-module-navigation_maps/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/f69b2b0ab0ffcd26f002/test_coverage)](https://codeclimate.com/github/Platoniq/decidim-module-navigation_maps/test_coverage)

Allows to map processes to image parts using maps.

Expand Down

0 comments on commit 26581a0

Please sign in to comment.