cJSON
[Ported from github.com/DaveGamble/cJSON] Fix: heap-use-after-free in merge_patch when patch is subtree of target (#1065)
Brought by drakestapleton
cJSON / tests / unity / test / .rubocop.yml
| 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.1 |
| 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/RegexpLiteral: |
| 16 | AllowInnerSlashes: true |
| 17 | Style/HashSyntax: |
| 18 | EnforcedStyle: no_mixed_keys |
| 19 | |
| 20 | # This is disabled because it seems to get confused over nested hashes |
| 21 | Style/AlignHash: |
| 22 | Enabled: false |
| 23 | EnforcedHashRocketStyle: table |
| 24 | EnforcedColonStyle: table |
| 25 | |
| 26 | # We purposefully use these insecure features because they're what makes Ruby awesome |
| 27 | Security/Eval: |
| 28 | Enabled: false |
| 29 | Security/YAMLLoad: |
| 30 | Enabled: false |
| 31 | |
| 32 | # At this point, we're not ready to enforce inline documentation requirements |
| 33 | Style/Documentation: |
| 34 | Enabled: false |
| 35 | Style/DocumentationMethod: |
| 36 | Enabled: false |
| 37 | |
| 38 | # At this point, we're not ready to enforce any metrics |
| 39 | Metrics/AbcSize: |
| 40 | Enabled: false |
| 41 | Metrics/BlockLength: |
| 42 | Enabled: false |
| 43 | Metrics/BlockNesting: |
| 44 | Enabled: false |
| 45 | Metrics/ClassLength: |
| 46 | Enabled: false |
| 47 | Metrics/CyclomaticComplexity: |
| 48 | Enabled: false |
| 49 | Metrics/LineLength: |
| 50 | Enabled: false |
| 51 | Metrics/MethodLength: |
| 52 | Enabled: false |
| 53 | Metrics/ModuleLength: |
| 54 | Enabled: false |
| 55 | Metrics/ParameterLists: |
| 56 | Enabled: false |
| 57 | Metrics/PerceivedComplexity: |
| 58 | Enabled: false |