From: Andy Allan Date: Wed, 27 Mar 2019 09:42:16 +0000 (+0100) Subject: Exclude most views from string literal checks X-Git-Tag: live~3225^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/e22266f8c4a1ffa0aaed8f76c0ccaaaaa08e7df5?ds=inline Exclude most views from string literal checks This allows us to work through them slowly, while preventing errors from creeping into directories that already pass. --- diff --git a/.erb-lint.yml b/.erb-lint.yml index 0861b74a2..a002cdafa 100644 --- a/.erb-lint.yml +++ b/.erb-lint.yml @@ -26,7 +26,25 @@ linters: Rails/OutputSafety: Enabled: false Style/StringLiterals: - 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/site/* + - app/views/traces/* + - app/views/user_blocks/* + - app/views/users/* Rails/DynamicFindBy: Enabled: false # TODO Style/AndOr: