forked from bridgetownrb/bridgetown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
109 lines (104 loc) · 3.47 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
---
inherit_from: .rubocop_todo.yml
require:
- rubocop-bridgetown
- ./rubocop/bridgetown
inherit_gem:
rubocop-bridgetown: .rubocop.yml
Bridgetown/NoPutsAllowed:
Exclude:
- rake/*.rake
AllCops:
TargetRubyVersion: 3.1
Lint/NestedPercentLiteral:
Exclude:
- bridgetown-core/test/test_site.rb
Lint/RescueException:
Exclude:
- bridgetown-core/lib/bridgetown-core/watcher.rb
Lint/SuppressedException:
Exclude:
- bridgetown-core/lib/bridgetown-core/commands/new.rb
Lint/UnusedBlockArgument:
Exclude:
- bridgetown-core/lib/site_template/**/*.rb
Lint/Void:
Exclude:
- bridgetown-core/lib/bridgetown-core/concerns/site/configurable.rb
Metrics/AbcSize:
Exclude:
- bridgetown-core/lib/bridgetown-core/commands/build.rb
- bridgetown-core/lib/bridgetown-core/commands/new.rb
- bridgetown-core/lib/bridgetown-core/commands/console.rb
- bridgetown-core/lib/bridgetown-core/commands/plugins.rb
- bridgetown-core/lib/bridgetown-core/commands/start.rb
- bridgetown-core/lib/bridgetown-core/watcher.rb
Metrics/BlockLength:
Exclude:
- bridgetown-core/test/**/*.rb
- bridgetown-core/lib/bridgetown-core/configuration.rb
- bridgetown-core/rake/*.rake
Metrics/ClassLength:
Exclude:
- !ruby/regexp /bridgetown-core/features\/.*.rb$/
- !ruby/regexp /bridgetown-core/test\/.*.rb$/
- bridgetown-core/lib/bridgetown-core/commands/serve.rb
- bridgetown-core/lib/bridgetown-core/configuration.rb
- bridgetown-core/lib/bridgetown-core/collection.rb
Metrics/CyclomaticComplexity:
Exclude:
- bridgetown-core/lib/bridgetown-core/utils.rb
- bridgetown-core/lib/bridgetown-core/commands/build.rb
- bridgetown-core/lib/bridgetown-core/commands/serve.rb
- bridgetown-core/lib/bridgetown-core/commands/start.rb
- bridgetown-core/lib/bridgetown-core/commands/plugins.rb
Layout/LineLength:
Exclude:
- !ruby/regexp /bridgetown-core/features\/.*.rb/
- !ruby/regexp /bridgetown-core/test\/.*.rb$/
- bridgetown-core/Rakefile
- bridgetown-core/rake/*.rake
- Gemfile
Metrics/MethodLength:
Exclude:
- bridgetown-core/lib/bridgetown-core/commands/concerns/build_options.rb
- bridgetown-core/lib/bridgetown-core/commands/build.rb
- bridgetown-core/lib/bridgetown-core/commands/console.rb
- bridgetown-core/lib/bridgetown-core/commands/new.rb
- bridgetown-core/lib/bridgetown-core/commands/plugins.rb
- bridgetown-core/lib/bridgetown-core/commands/start.rb
Metrics/ModuleLength:
Exclude:
- bridgetown-core/lib/bridgetown-core/filters.rb
Metrics/ParameterLists:
Exclude:
- bridgetown-core/lib/bridgetown-core/hooks.rb
Metrics/PerceivedComplexity:
Exclude:
- bridgetown-core/lib/bridgetown-core/commands/build.rb
- bridgetown-core/lib/bridgetown-core/commands/plugins.rb
Naming/HeredocDelimiterNaming:
Exclude:
- bridgetown-core/test/**/*.rb
Security/MarshalLoad:
Exclude:
- !ruby/regexp /bridgetown-core/test\/.*.rb$/
Security/YAMLLoad:
Exclude:
- !ruby/regexp /bridgetown-core/features\/.*.rb/
- !ruby/regexp /bridgetown-core/test\/.*.rb$/
Style/FetchEnvVar:
Enabled: false
Style/FrozenStringLiteralComment:
Exclude:
- bridgetown-core/lib/site_template/**/*.rb
Style/FormatStringToken:
Exclude:
- bridgetown-core/lib/bridgetown-core/utils/ansi.rb
- bridgetown-core/lib/bridgetown-core/liquid_renderer/table.rb
Style/GlobalVars:
Exclude:
- bridgetown-core/lib/bridgetown-core/commands/console.rb
Style/MixinUsage:
Exclude:
- bridgetown-core/test/helper.rb