-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.rubocop.yml
80 lines (79 loc) · 1.7 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
# This is the default configuration file. Enabling and disabling is configured
# in separate files. This file adds all other parameters apart from Enabled.
# Common configuration.
AllCops:
TargetRubyVersion: 2.3
Exclude:
- lib/aspose_words_cloud/api_client.rb
Metrics/LineLength:
Max: 7010
Style/AccessModifierDeclarations:
EnforcedStyle: inline
Metrics/ClassLength:
Max: 10000
Metrics/MethodLength:
Max: 200
Metrics/PerceivedComplexity:
Max: 100
Metrics/CyclomaticComplexity:
Max: 60
Metrics/AbcSize:
Max: 350
Style/HashSyntax:
EnforcedStyle: no_mixed_keys
Style/IfUnlessModifier:
Enabled: false
Style/ClassVars:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/GuardClause:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Style/DateTime:
Enabled: false
Style/SymbolLiteral:
Enabled: false
Lint:
Enabled: false
Naming/UncommunicativeMethodParamName:
Enabled: false
Style/RedundantSelf:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/RedundantReturn:
Enabled: false
Layout/TrailingWhitespace:
Enabled: false
Layout/CommentIndentation:
Enabled: false
Style/PerlBackrefs:
Enabled: false
Layout/MultilineOperationIndentation:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Layout/EmptyLinesAroundModuleBody:
Enabled: false
Layout/EmptyLinesAroundClassBody:
Enabled: false
Layout/LeadingBlankLines:
Enabled: false
Style/Documentation:
Enabled: false
Layout/EmptyLinesAroundMethodBody:
Enabled: false
Layout/EmptyLines:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
Style/AsciiComments:
Enabled: false
Layout/IndentationWidth:
Enabled: false
Layout/Tab:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false