-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
44 lines (44 loc) · 950 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
inherit_gem:
bixby: bixby_default.yml
AllCops:
DisplayCopNames: true
Exclude:
- 'bin/*'
- 'db/**/*'
- 'vendor/**/*'
- 'gemfiles/vendor/**/*'
- 'spec/**/*'
- 'script/*'
- 'features/**/*'
RSpec/ScatteredSetup:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'tasks/**/*'
- 'db/schema.rb'
- 'Rakefile'
- '*.gemspec'
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
Rails/TimeZone:
Enabled: false
Rails/RakeEnvironment:
Enabled: false
Rails/ApplicationRecord:
Enabled: false
Lint/UnusedMethodArgument:
AllowUnusedKeywordArguments: true
Naming/FileName:
Exclude:
- 'Appraisals'
- 'Gemfile'
Metrics/CyclomaticComplexity:
Exclude:
# catalog_controller.rb is usually long because it is mostly configuration
Metrics/ClassLength:
Exclude:
- 'app/controllers/catalog_controller.rb'
- 'app/controllers/workspace_controller.rb'