-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
86 lines (84 loc) · 2.07 KB
/
.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
inherit_gem:
bixby: bixby_default.yml
AllCops:
Exclude:
- bin/*
- db/**/*
- spec/fixtures/**/*
- vendor/**/*
TargetRubyVersion: 2.7
Metrics/AbcSize:
Exclude:
- app/controllers/spotlight/pages_controller.rb
- app/controllers/tufts/tdl_resources_controller.rb
- app/models/search_builder.rb
- lib/tufts/hostname_fixer.rb
Metrics/BlockLength:
Exclude:
- app/controllers/catalog_controller.rb
- config/**/*
- lib/tasks/data_cleaner.rake
- lib/tasks/reindexer.rake
- spec/features/feature_page_customizations_spec.rb
- spec/features/sir_trevor_customizations_spec.rb
- spec/features/tdl_ingest_spec.rb
- spec/features/view_customizations_spec.rb
- Guardfile
Metrics/CyclomaticComplexity:
Exclude:
- lib/tufts/hostname_fixer.rb
Metrics/PerceivedComplexity:
Exclude:
- lib/tufts/hostname_fixer.rb
Metrics/ClassLength:
Exclude:
- lib/tufts/hostname_fixer.rb
Metrics/MethodLength:
Exclude:
- app/controllers/omniauthcallbacks_controller.rb
- app/controllers/tufts/tdl_resources_controller.rb
- app/models/tufts/iiif_manifest.rb
- lib/tufts/hostname_fixer.rb
Naming/MethodParameterName:
Exclude:
- lib/in_menu_behavior/helper.rb
Lint/Debugger:
Exclude:
- lib/tufts/hostname_fixer.rb
Style/SymbolArray:
StyleGuide: '#brackets'
Style/Documentation:
Exclude:
- app/**/*
- test/*
- app/models/user.rb
- lib/**/*
- spec/**/*
- config/**/*
Lint/UnusedMethodArgument:
Exclude:
- app/controllers/application_controller.rb
Layout/LineLength:
Exclude:
- config/**/*
Rails/ApplicationRecord:
Exclude:
- app/models/spotlight/*
Rails/FilePath:
Exclude:
- lib/tasks/test.rake
Rails/Output:
Exclude:
- lib/tufts/hostname_fixer.rb
RSpec/ExampleLength:
Exclude:
- spec/features/feature_page_customizations_spec.rb
- spec/features/sir_trevor_customizations_spec.rb
- spec/features/tdl_ingest_spec.rb
- spec/features/view_customizations_spec.rb
Rails/UnknownEnv:
Environments:
- production
- development
- test
- stage