-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
56 lines (54 loc) · 1.27 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
AllCops:
Exclude:
# Because these are vendor files.
- 'node_modules/**/*'
Metrics/AbcSize:
Exclude:
# TODO
- 'lib/sequenceserver.rb'
Metrics/MethodLength:
# Because 15 lines in a method is just about as good as 10 (default). And we
# have a couple that can't be helped.
Max: 15
Exclude:
# TODO:
- 'lib/sequenceserver.rb'
Metrics/ModuleLength:
Exclude:
# TODO:
# Revisit later.
- 'lib/sequenceserver.rb'
- 'spec/blast_spec.rb'
Metrics/ClassLength:
Exclude:
# TODO:
# Evaluate whether to make class smaller or to increase 'Max'.
- 'lib/sequenceserver/database.rb'
Metrics/BlockNesting:
Exclude:
# TODO:
# Fix in bin/sequenceserver and re-enable.
- 'bin/sequenceserver'
Style/UnlessElse:
# TODO:
# Fix in bin/sequenceserver and re-enable.
Enabled: false
Style/ClassAndModuleCamelCase:
Exclude:
# TODO:
# Revisit later.
- 'lib/sequenceserver/exceptions.rb'
Style/Lambda:
Exclude:
# Because we support 1.8.7.
- '**/*.rb'
Style/EachWithObject:
Exclude:
# Because we support 1.8.7.
- '**/*.rb'
Style/HashSyntax:
# Because we support 1.8.7.
EnforcedStyle: hash_rockets
Style/AsciiComments:
# Nothing wrong with non-ascii chars, like © in comments.
Enabled: false