Debian Codegraph @

vendor/unity/test/.rubocop.yml

raw
1 # This is the configuration used to check the rubocop source code.
2
3 #inherit_from: .rubocop_todo.yml
4
5 AllCops:
6 TargetRubyVersion: 2.3
7
8 # These are areas where ThrowTheSwitch's coding style diverges from the Ruby standard
9 Style/SpecialGlobalVars:
10 EnforcedStyle: use_perl_names
11 Style/FormatString:
12 Enabled: false
13 Style/GlobalVars:
14 Enabled: false
15 Style/FrozenStringLiteralComment:
16 Enabled: false
17 Style/RegexpLiteral:
18 AllowInnerSlashes: true
19 Style/HashSyntax:
20 EnforcedStyle: no_mixed_keys
21 Style/NumericPredicate:
22 Enabled: false
23 Style/MultilineBlockChain:
24 Enabled: false
25 Style/Alias:
26 Enabled: false
27 Style/EvalWithLocation:
28 Enabled: false
29 Style/MixinUsage:
30 Enabled: false
31
32 # These are also places we diverge... but we will likely comply down the road
33 Style/IfUnlessModifier:
34 Enabled: false
35 Style/FormatStringToken:
36 Enabled: false
37
38 # This is disabled because it seems to get confused over nested hashes
39 Layout/AlignHash:
40 Enabled: false
41 EnforcedHashRocketStyle: table
42 EnforcedColonStyle: table
43
44 # We purposefully use these insecure features because they're what makes Ruby awesome
45 Security/Eval:
46 Enabled: false
47 Security/YAMLLoad:
48 Enabled: false
49
50 # At this point, we're not ready to enforce inline documentation requirements
51 Style/Documentation:
52 Enabled: false
53 Style/DocumentationMethod:
54 Enabled: false
55
56 # At this point, we're not ready to enforce any metrics
57 Metrics/AbcSize:
58 Enabled: false
59 Metrics/BlockLength:
60 Enabled: false
61 Metrics/BlockNesting:
62 Enabled: false
63 Metrics/ClassLength:
64 Enabled: false
65 Metrics/CyclomaticComplexity:
66 Enabled: false
67 Metrics/LineLength:
68 Enabled: false
69 Metrics/MethodLength:
70 Enabled: false
71 Metrics/ModuleLength:
72 Enabled: false
73 Metrics/ParameterLists:
74 Enabled: false
75 Metrics/PerceivedComplexity:
76 Enabled: false