Use erb-lint to prohibit inline scripting
This commit is contained in:
parent
79bda7a8ed
commit
2fb4497c6c
1 changed files with 6 additions and 3 deletions
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
linters:
|
||||
SelfClosingTag:
|
||||
enabled: false
|
||||
SpaceInHtmlTag:
|
||||
AllowedScriptType:
|
||||
enabled: true
|
||||
disallow_inline_scripts: true
|
||||
Rubocop:
|
||||
enabled: true
|
||||
rubocop_config:
|
||||
|
@ -25,5 +24,9 @@ linters:
|
|||
Enabled: false
|
||||
Rails/OutputSafety:
|
||||
Enabled: false
|
||||
SelfClosingTag:
|
||||
enabled: false
|
||||
SpaceInHtmlTag:
|
||||
enabled: true
|
||||
exclude:
|
||||
- '**/vendor/**'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue