Merge remote-tracking branch 'upstream/pull/2187'
[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       Layout/LeadingBlankLines:
54         Enabled: false # TODO
55       Style/NestedParenthesizedCalls:
56         Enabled: false # TODO
57       Rails/LinkToBlank:
58         Enabled: false # TODO
59       Style/SymbolProc:
60         Enabled: false # TODO
61       Style/Not:
62         Enabled: false # TODO
63       Style/NegatedIf:
64         Enabled: false # TODO
65       Style/ConditionalAssignment:
66         Enabled: false # TODO
67 exclude:
68   - '**/vendor/**'