]> git.openstreetmap.org Git - rails.git/blobdiff - .erb-lint.yml
erblint: prefer double quoted strings
[rails.git] / .erb-lint.yml
index 29057feb246052d4a2d8f5b4b70d360a6c16e479..340cfd297caadcec8be0a446306af483d1dcbc78 100644 (file)
@@ -26,9 +26,24 @@ 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:
@@ -43,8 +58,6 @@ linters:
         Enabled: false # TODO
       Rails/LinkToBlank:
         Enabled: false # TODO
-      Style/HashSyntax:
-        Enabled: false # TODO
       Style/SymbolProc:
         Enabled: false # TODO
       Style/Not: