[Fix #592] Rubocop: add rule to forbid html_safe
This commit is contained in:
parent
693c2a43ac
commit
c68b4e9cf6
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ jobs:
|
||||||
bundle exec rspec --color --require spec_helper -- ${TESTFILES}
|
bundle exec rspec --color --require spec_helper -- ${TESTFILES}
|
||||||
- run:
|
- run:
|
||||||
name: Run rubocop
|
name: Run rubocop
|
||||||
command: bundle exec rubocop
|
command: bundle exec rubocop -R
|
||||||
- run:
|
- run:
|
||||||
name: Run haml-lint
|
name: Run haml-lint
|
||||||
command: bundle exec haml-lint app/views/
|
command: bundle exec haml-lint app/views/
|
||||||
|
|
|
@ -570,7 +570,7 @@ Rails/Output:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Rails/OutputSafety:
|
Rails/OutputSafety:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Rails/PluralizationGrammar:
|
Rails/PluralizationGrammar:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue