forked from SUSE/Portus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
38 lines (31 loc) · 1023 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
inherit_from:
- ./config/rubocop-suse.yml
# TODO: (mssola) only the LDAP class requires this.
Metrics/ClassLength:
Max: 150
# TODO: (mssola) Some methods are offending this cop. In the SUSE's style guide
# the approach is to use Rubocop's default value. In the near future I will
# fix this.
Metrics/MethodLength:
Max: 252
# It's convenient to mix both. This is something that SUSE's style guide does
# not specify, so we take the approach that we were following already.
Style/ClassAndModuleChildren:
Enabled: false
# NOTE: (mssola) This would be nice, but there are too many errors on this for
# now and it's not urgent. I will fix this in the near future.
Style/Documentation:
Enabled: false
AllCops:
RunRailsCops: true
Exclude:
# Files that are out of our control and that are not excluded in the
# default config of rubocop.
- db/schema.rb
- db/migrate/*
- bin/*
- vendor/**/*
- tmp/**/*
- config/cronotab.rb
- config/initializers/*
- config/environments/*