]> git.openstreetmap.org Git - rails.git/blob - .rubocop.yml
Fix new rubocop warnings
[rails.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 Rails:
4   Enabled: true
5
6 Performance/RedundantMerge:
7   Enabled: false
8
9 Style/BracesAroundHashParameters:
10   EnforcedStyle: context_dependent
11
12 Style/ExtraSpacing:
13   AllowForAlignment: true
14
15 Style/FileName:
16   Exclude:
17     - 'script/deliver-message'
18     - 'script/locale/reload-languages'
19     - 'script/update-spam-blocks'
20
21 Style/IfInsideElse:
22   Enabled: false
23
24 Style/GlobalVars:
25   Exclude:
26     - 'lib/quad_tile/extconf.rb'
27
28 Style/GuardClause:
29   Enabled: false
30
31 Style/HashSyntax:
32   EnforcedStyle: hash_rockets
33   Exclude:
34     - 'lib/tasks/testing.rake'
35     - 'config/initializers/wrap_parameters.rb'
36
37 Style/StringLiterals:
38   EnforcedStyle: double_quotes
39
40 Style/WordArray:
41   Exclude:
42     - 'test/models/message_test.rb'