Set the RunRailsCops option in the rubocop config

Instead of relying on a flag
This commit is contained in:
gregoirenovel 2018-01-16 18:57:04 +01:00
parent c76097ef55
commit d5f55cb360
3 changed files with 3 additions and 3 deletions

View file

@ -119,7 +119,7 @@ Pour exécuter les tests de l'application, plusieurs possibilités :
## Linting
- Faire tourner RuboCop : `bundle exec rubocop -R`
- Faire tourner RuboCop : `bundle exec rubocop`
- Faire tourner Brakeman : `bundle exec brakeman -z`
- Linter les fichiers HAML : `bundle exec haml-lint app/views/`
- Linter les fichiers SCSS : `bundle exec scss-lint app/assets/stylesheets/`