X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/74b91c0e3e53b4b8da8d7f759ecca67ff5c39a7b..31edc7dff6f4305366d0f93d35ba3fb1956bb71f:/.erb-lint.yml?ds=sidebyside diff --git a/.erb-lint.yml b/.erb-lint.yml index 0861b74a2..812a6f538 100644 --- a/.erb-lint.yml +++ b/.erb-lint.yml @@ -1,9 +1,8 @@ --- linters: - SelfClosingTag: - enabled: false - SpaceInHtmlTag: - enabled: false # TODO + AllowedScriptType: + enabled: true + disallow_inline_scripts: true Rubocop: enabled: true rubocop_config: @@ -25,29 +24,9 @@ linters: Enabled: false Rails/OutputSafety: Enabled: false - Style/StringLiterals: - Enabled: false # TODO - Rails/DynamicFindBy: - Enabled: false # TODO - Style/AndOr: - Enabled: false # TODO - Style/WordArray: - Enabled: false # TODO - Style/MethodCallWithoutArgsParentheses: - Enabled: false # TODO - Layout/LeadingBlankLines: - Enabled: false # TODO - Style/NestedParenthesizedCalls: - Enabled: false # TODO - Rails/LinkToBlank: - Enabled: false # TODO - Style/SymbolProc: - Enabled: false # TODO - Style/Not: - Enabled: false # TODO - Style/NegatedIf: - Enabled: false # TODO - Style/ConditionalAssignment: - Enabled: false # TODO + SelfClosingTag: + enabled: false + SpaceInHtmlTag: + enabled: true exclude: - '**/vendor/**'