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.
This commit is contained in:
Andy Allan 2019-03-27 10:42:16 +01:00
parent 74b91c0e3e
commit e22266f8c4

View file

@ -26,7 +26,25 @@ linters:
Rails/OutputSafety: Rails/OutputSafety:
Enabled: false Enabled: false
Style/StringLiterals: 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: Rails/DynamicFindBy:
Enabled: false # TODO Enabled: false # TODO
Style/AndOr: Style/AndOr: