forked from projectblacklight/blacklight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
45 lines (34 loc) · 783 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
require: rubocop-rspec
inherit_from:
- .rubocop_todo.yml
AllCops:
DisplayCopNames: true
Exclude:
- "lib/generators/blacklight/templates/**/*"
- "spec/**/*"
- "blacklight.gemspec"
Rails:
Enabled: true
Metrics/BlockLength:
Exclude:
- "lib/railties/blacklight.rake"
- "tasks/blacklight.rake"
Metrics/LineLength:
Max: 200
Style/StringLiterals:
Enabled: false
Layout/IndentationConsistency:
EnforcedStyle: normal
Rails/OutputSafety:
Enabled: false
Style/MethodMissing:
Exclude:
- 'lib/blacklight/nested_open_struct_with_hash_access.rb'
# engine_cart block includes conditional, not duplication
Bundler/DuplicatedGem:
Exclude:
- 'Gemfile'
# engine_cart block is following default Rails order
Bundler/OrderedGems:
Exclude:
- 'Gemfile'