]> git.openstreetmap.org Git - rails.git/blob - .rubocop.yml
Remove fake qqq locale
[rails.git] / .rubocop.yml
1 inherit_from: .rubocop_todo.yml
2
3 AllCops:
4   Include:
5     - '**/*.gemspec'
6     - '**/*.podspec'
7     - '**/*.jbuilder'
8     - '**/*.rake'
9     - '**/*.opal'
10     - '**/config.ru'
11     - '**/Gemfile'
12     - '**/Rakefile'
13     - '**/Capfile'
14     - '**/Guardfile'
15     - '**/Podfile'
16     - '**/Thorfile'
17     - '**/Vagrantfile'
18     - '**/Berksfile'
19     - '**/Cheffile'
20     - '**/Vagabondfile'
21     - '**/Fastfile'
22     - '**/*.builder'
23
24 Rails:
25   Enabled: true
26
27 Style/BracesAroundHashParameters:
28   EnforcedStyle: context_dependent
29
30 Style/ExtraSpacing:
31   AllowForAlignment: true
32
33 Style/FileName:
34   Exclude:
35     - 'script/deliver-message'
36     - 'script/locale/reload-languages'
37     - 'script/update-spam-blocks'
38
39 Style/IfInsideElse:
40   Enabled: false
41
42 Style/GlobalVars:
43   Exclude:
44     - 'lib/quad_tile/extconf.rb'
45
46 Style/GuardClause:
47   Enabled: false
48
49 Style/HashSyntax:
50   EnforcedStyle: hash_rockets
51   Exclude:
52     - 'lib/tasks/testing.rake'
53     - 'config/initializers/wrap_parameters.rb'
54
55 Style/StringLiterals:
56   EnforcedStyle: double_quotes
57
58 Rails/HttpPositionalArguments:
59   Enabled: false
60
61 Rails/SkipsModelValidations:
62   Exclude:
63     - 'db/migrate/*.rb'
64     - 'app/controllers/user_controller.rb'
65
66 Lint/PercentStringArray:
67   Exclude:
68     - 'config/initializers/secure_headers.rb'
69     - 'app/controllers/site_controller.rb'