[Fix #592] Rubocop: add rule to forbid html_safe

This commit is contained in:
Simon Lehericey 2017-07-13 10:13:55 +02:00
parent 693c2a43ac
commit c68b4e9cf6
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ jobs:
bundle exec rspec --color --require spec_helper -- ${TESTFILES}
- run:
name: Run rubocop
command: bundle exec rubocop
command: bundle exec rubocop -R
- run:
name: Run haml-lint
command: bundle exec haml-lint app/views/

View file

@ -570,7 +570,7 @@ Rails/Output:
Enabled: false
Rails/OutputSafety:
Enabled: false
Enabled: true
Rails/PluralizationGrammar:
Enabled: false