X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c82fdf8e0fd4e5a8f2d831592d5e1fe13e1fe558..31edc7dff6f4305366d0f93d35ba3fb1956bb71f:/.erb-lint.yml?ds=sidebyside diff --git a/.erb-lint.yml b/.erb-lint.yml index 29057feb2..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,33 +24,9 @@ linters: Enabled: false Rails/OutputSafety: Enabled: false - Style/StringLiterals: - Enabled: false # TODO - Style/BracesAroundHashParameters: - 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/HashSyntax: - 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/**'