Configure cops from RuboCop 1.1
This commit is contained in:
		
							parent
							
								
									4bda8cefb8
								
							
						
					
					
						commit
						e06641f423
					
				
							
								
								
									
										14
									
								
								.rubocop.yml
								
								
								
								
							
							
						
						
									
										14
									
								
								.rubocop.yml
								
								
								
								
							| 
						 | 
					@ -67,10 +67,14 @@ Lint/DeprecatedOpenSSLConstant:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
Lint/DuplicateElsifCondition:
 | 
					Lint/DuplicateElsifCondition:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
 | 
					Lint/DuplicateRegexpCharacterClassElement:
 | 
				
			||||||
 | 
					  Enabled: true
 | 
				
			||||||
Lint/DuplicateRescueException:
 | 
					Lint/DuplicateRescueException:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
Lint/DuplicateRequire:
 | 
					Lint/DuplicateRequire:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
 | 
					Lint/EmptyBlock:
 | 
				
			||||||
 | 
					  Enabled: true
 | 
				
			||||||
Lint/EmptyConditionalBody:
 | 
					Lint/EmptyConditionalBody:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
Lint/EmptyFile:
 | 
					Lint/EmptyFile:
 | 
				
			||||||
| 
						 | 
					@ -98,10 +102,14 @@ Lint/SelfAssignment:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
Lint/StructNewOverride:
 | 
					Lint/StructNewOverride:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
 | 
					Lint/ToEnumArguments:
 | 
				
			||||||
 | 
					  Enabled: false
 | 
				
			||||||
Lint/TopLevelReturnWithArgument:
 | 
					Lint/TopLevelReturnWithArgument:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
Lint/TrailingCommaInAttributeDeclaration:
 | 
					Lint/TrailingCommaInAttributeDeclaration:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
 | 
					Lint/UnmodifiedReduceAccumulator:
 | 
				
			||||||
 | 
					  Enabled: true
 | 
				
			||||||
Lint/UnreachableCode:
 | 
					Lint/UnreachableCode:
 | 
				
			||||||
  Severity: error
 | 
					  Severity: error
 | 
				
			||||||
Lint/UnreachableLoop:
 | 
					Lint/UnreachableLoop:
 | 
				
			||||||
| 
						 | 
					@ -192,6 +200,8 @@ Security/YAMLLoad:
 | 
				
			||||||
    - !ruby/regexp /features\/.*.rb/
 | 
					    - !ruby/regexp /features\/.*.rb/
 | 
				
			||||||
    - !ruby/regexp /test\/.*.rb$/
 | 
					    - !ruby/regexp /test\/.*.rb$/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Style/ArgumentsForwarding:
 | 
				
			||||||
 | 
					  Enabled: false
 | 
				
			||||||
Style/ArrayCoercion:
 | 
					Style/ArrayCoercion:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
Style/AccessModifierDeclarations:
 | 
					Style/AccessModifierDeclarations:
 | 
				
			||||||
| 
						 | 
					@ -215,6 +225,8 @@ Style/CombinableLoops:
 | 
				
			||||||
  Enabled: true
 | 
					  Enabled: true
 | 
				
			||||||
Style/Documentation:
 | 
					Style/Documentation:
 | 
				
			||||||
  Enabled: false
 | 
					  Enabled: false
 | 
				
			||||||
 | 
					Style/DocumentDynamicEvalDefinition:
 | 
				
			||||||
 | 
					  Enabled: true
 | 
				
			||||||
Style/DoubleNegation:
 | 
					Style/DoubleNegation:
 | 
				
			||||||
  Enabled: false
 | 
					  Enabled: false
 | 
				
			||||||
Style/ExponentialNotation:
 | 
					Style/ExponentialNotation:
 | 
				
			||||||
| 
						 | 
					@ -301,6 +313,8 @@ Style/StringConcatenation:
 | 
				
			||||||
    - test/**/*.rb
 | 
					    - test/**/*.rb
 | 
				
			||||||
Style/StringLiteralsInInterpolation:
 | 
					Style/StringLiteralsInInterpolation:
 | 
				
			||||||
  EnforcedStyle: double_quotes
 | 
					  EnforcedStyle: double_quotes
 | 
				
			||||||
 | 
					Style/SwapValues:
 | 
				
			||||||
 | 
					  Enabled: true
 | 
				
			||||||
Style/SymbolArray:
 | 
					Style/SymbolArray:
 | 
				
			||||||
  EnforcedStyle: brackets
 | 
					  EnforcedStyle: brackets
 | 
				
			||||||
Style/TrailingCommaInArrayLiteral:
 | 
					Style/TrailingCommaInArrayLiteral:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue