]> git.openstreetmap.org Git - rails.git/blobdiff - .erb-lint.yml
erblint: avoid dynamic find_by methods
[rails.git] / .erb-lint.yml
index a002cdafa46b60535e272a61f25c6f4dafc8998a..3cca0301cf8317bf42c610eae2aaef6b17390c88 100644 (file)
@@ -25,47 +25,7 @@ linters:
         Enabled: false
       Rails/OutputSafety:
         Enabled: false
-      Style/StringLiterals:
-        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:
-        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
 exclude:
   - '**/vendor/**'