erblint: prefer double quoted strings
[rails.git] / .erb-lint.yml
1 ---
2 linters:
3   SelfClosingTag:
4     enabled: false
5   SpaceInHtmlTag:
6     enabled: false # TODO
7   Rubocop:
8     enabled: true
9     rubocop_config:
10       inherit_from:
11         - .rubocop.yml
12       Layout/InitialIndentation:
13         Enabled: false
14       Layout/TrailingBlankLines:
15         Enabled: false
16       Layout/TrailingWhitespace:
17         Enabled: false
18       Naming/FileName:
19         Enabled: false
20       Style/FrozenStringLiteralComment:
21         Enabled: false
22       Metrics/LineLength:
23         Enabled: false
24       Lint/UselessAssignment:
25         Enabled: false
26       Rails/OutputSafety:
27         Enabled: false
28       Style/StringLiterals:
29         Exclude: # TODO
30           - app/views/browse/*
31           - app/views/changesets/*
32           - app/views/changeset_comments/*
33           - app/views/diary_entries/*
34           - app/views/geocoder/*
35           - app/views/issues/*
36           - app/views/layouts/*
37           - app/views/messages/*
38           - app/views/notes/*
39           - app/views/notifier/*
40           - app/views/oauth/*
41           - app/views/oauth_clients/*
42           - app/views/redactions/*
43           - app/views/reports/*
44           - app/views/traces/*
45           - app/views/user_blocks/*
46           - app/views/users/*
47       Rails/DynamicFindBy:
48         Enabled: false # TODO
49       Style/AndOr:
50         Enabled: false # TODO
51       Style/WordArray:
52         Enabled: false # TODO
53       Style/MethodCallWithoutArgsParentheses:
54         Enabled: false # TODO
55       Layout/LeadingBlankLines:
56         Enabled: false # TODO
57       Style/NestedParenthesizedCalls:
58         Enabled: false # TODO
59       Rails/LinkToBlank:
60         Enabled: false # TODO
61       Style/SymbolProc:
62         Enabled: false # TODO
63       Style/Not:
64         Enabled: false # TODO
65       Style/NegatedIf:
66         Enabled: false # TODO
67       Style/ConditionalAssignment:
68         Enabled: false # TODO
69 exclude:
70   - '**/vendor/**'