-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.rubocop.yml
46 lines (38 loc) · 874 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
46
inherit_gem:
armitage-rubocop:
- lib/rubocop.general.yml
- lib/rubocop.rake.yml
- lib/rubocop.rspec.yml
AllCops:
TargetRubyVersion: 3.1
NewCops: enable
Include:
- lib/**/*.rb
- spec/**/*.rb
- Gemfile
- Rakefile
- qonfig.gemspec
- gemfiles/*.gemfile
- bin/console
- bin/rspec
# NOTE: for code clarity in tests
RSpec/LeakyConstantDeclaration:
Enabled: false
# NOTE: support for old ruby versions
Style/RedundantBegin:
Enabled: false
# NOTE: too situative
Metrics/ParameterLists:
Enabled: false
# NOTE: too situative in current code base
Style/NilComparison:
Enabled: false
# NOTE: too situative in current code base
Style/NonNilCheck:
Enabled: false
# NOTE: too situative in current code base
Lint/MissingSuper:
Enabled: false
# NOTE: too situative in current code base
Lint/EmptyBlock:
Enabled: false