]> git.openstreetmap.org Git - rails.git/blob - .rubocop.yml
Update notes_controller_test to use note and note_comment factories
[rails.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 AllCops:
4   Include:
5     - '**/*.builder'
6
7 Rails:
8   Enabled: true
9
10 Style/BracesAroundHashParameters:
11   EnforcedStyle: context_dependent
12
13 Style/ExtraSpacing:
14   AllowForAlignment: true
15
16 Style/FileName:
17   Exclude:
18     - 'script/deliver-message'
19     - 'script/locale/reload-languages'
20     - 'script/update-spam-blocks'
21
22 Style/IfInsideElse:
23   Enabled: false
24
25 Style/GlobalVars:
26   Exclude:
27     - 'lib/quad_tile/extconf.rb'
28
29 Style/GuardClause:
30   Enabled: false
31
32 Style/HashSyntax:
33   EnforcedStyle: hash_rockets
34   Exclude:
35     - 'lib/tasks/testing.rake'
36     - 'config/initializers/wrap_parameters.rb'
37
38 Style/StringLiterals:
39   EnforcedStyle: double_quotes