-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
35 lines (30 loc) · 880 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
# We want Exclude directives from different
# config files to get merged, not overwritten
inherit_mode:
merge:
- Exclude
require:
# Standard's config uses custom cops,
# so it must be loaded along with custom Standard gems
- standard
- standard-custom
- standard-performance
# rubocop-performance is required when using Performance cops
- rubocop-performance
inherit_gem:
standard: config/base.yml
# You can also choose a Ruby-version-specific config
# standard: config/ruby-3.0.yml
# Standard plugins must be loaded separately (since v1.28.0)
standard-performance: config/base.yml
standard-custom: config/base.yml
# Sometimes we enable metrics cops
# (which are disabled in Standard by default)
#
# Metrics:
# Enabled: true
# Global options, like Ruby version
AllCops:
SuggestExtensions: false
Style/ArgumentsForwarding:
Enabled: false