.rubocop.yml in snmp-open-0.6.0 vs .rubocop.yml in snmp-open-0.6.1
- old
+ new
@@ -1,2 +1,62 @@
+AllCops:
+ TargetRubyVersion: 2.4
+
Style/CommentedKeyword:
Enabled: false
+
+Lint/MissingSuper:
+ Exclude:
+ - 'lib/snmp/open/parser/value_parser.rb'
+
+Metrics/ClassLength:
+ Exclude:
+ - 'lib/snmp/open/parser.rb'
+
+Style/AccessModifierDeclarations: {Enabled: false}
+Style/IfUnlessModifier: {Enabled: false}
+Style/FrozenStringLiteralComment: {Enabled: false}
+
+Layout/SpaceBeforeBrackets: # (new in 1.7)
+ Enabled: true
+Lint/AmbiguousAssignment: # (new in 1.7)
+ Enabled: true
+Lint/DeprecatedConstants: # (new in 1.8)
+ Enabled: true
+Lint/DuplicateBranch: # (new in 1.3)
+ Enabled: true
+Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
+ Enabled: true
+Lint/EmptyBlock: # (new in 1.1)
+ Enabled: true
+Lint/EmptyClass: # (new in 1.3)
+ Enabled: true
+Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
+ Enabled: true
+Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
+ Enabled: true
+Lint/RedundantDirGlobSort: # (new in 1.8)
+ Enabled: true
+Lint/ToEnumArguments: # (new in 1.1)
+ Enabled: true
+Lint/UnexpectedBlockArity: # (new in 1.5)
+ Enabled: true
+Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
+ Enabled: true
+Style/ArgumentsForwarding: # (new in 1.1)
+ Enabled: true
+Style/CollectionCompact: # (new in 1.2)
+ Enabled: true
+Style/DocumentDynamicEvalDefinition: # (new in 1.1)
+ Enabled: true
+Style/EndlessMethod: # (new in 1.8)
+ Enabled: true
+Style/HashExcept: # (new in 1.7)
+ Enabled: true
+Style/NegatedIfElseCondition: # (new in 1.2)
+ Enabled: true
+Style/NilLambda: # (new in 1.3)
+ Enabled: true
+Style/RedundantArgument: # (new in 1.4)
+ Enabled: true
+Style/SwapValues: # (new in 1.1)
+ Enabled: true