]> git.openstreetmap.org Git - rails.git/blobdiff - .erb-lint.yml
erblint: use conditional assignment
[rails.git] / .erb-lint.yml
index f1da5efb3c5bb0ccbaf764ecb9b61c7f6483a38b..25811bccdbf45d76883771d90d2ee19d291acd24 100644 (file)
@@ -25,44 +25,11 @@ 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/traces/*
-          - app/views/user_blocks/*
-          - app/views/users/*
       Rails/DynamicFindBy:
         Enabled: false # TODO
-      Style/AndOr:
-        Enabled: false # TODO
-      Style/WordArray:
-        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/**'