X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d6a2515cb0c55eb69c8bb1c872e13b5f59ea64b5..3b237dc3dabda181ed68dc587b1befc678a03706:/.erb-lint.yml diff --git a/.erb-lint.yml b/.erb-lint.yml index bc722c218..f1da5efb3 100644 --- a/.erb-lint.yml +++ b/.erb-lint.yml @@ -26,25 +26,36 @@ linters: Rails/OutputSafety: Enabled: false Style/StringLiterals: - Enabled: false # TODO - Style/BracesAroundHashParameters: - Enabled: false # TODO + Exclude: # TODO + - app/views/browse/* + - app/views/changesets/* + - app/views/changeset_comments/* + - app/views/diary_entries/* + - app/views/geocoder/* + - app/views/issues/* + - app/views/layouts/* + - app/views/messages/* + - app/views/notes/* + - app/views/notifier/* + - app/views/oauth/* + - app/views/oauth_clients/* + - app/views/redactions/* + - app/views/reports/* + - app/views/traces/* + - app/views/user_blocks/* + - app/views/users/* 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: @@ -53,3 +64,5 @@ linters: Enabled: false # TODO Style/ConditionalAssignment: Enabled: false # TODO +exclude: + - '**/vendor/**'