@@ -6,49 +6,50 @@ AllCops:
66 Exclude :
77 - spec/sandbox/**/*
88 - spec/fixtures/**/*
9+ - vendor/bundle/**/**
910
1011# Enforce Ruby 1.8-compatible hash syntax
11- HashSyntax :
12+ Style/ HashSyntax :
1213 EnforcedStyle : hash_rockets
1314
1415# No spaces inside hash literals
15- SpaceInsideHashLiteralBraces :
16+ Layout/ SpaceInsideHashLiteralBraces :
1617 EnforcedStyle : no_space
1718
1819# Enforce outdenting of access modifiers (i.e. public, private, protected)
19- AccessModifierIndentation :
20+ Layout/ AccessModifierIndentation :
2021 EnforcedStyle : outdent
2122
22- EmptyLinesAroundAccessModifier :
23+ Layout/ EmptyLinesAroundAccessModifier :
2324 Enabled : true
2425
2526# Align ends correctly
26- EndAlignment :
27+ Layout/ EndAlignment :
2728 EnforcedStyleAlignWith : variable
29+ Exclude :
30+ - ' lib/thor/actions.rb'
31+ - ' lib/thor/error.rb'
32+ - ' lib/thor/shell/basic.rb'
33+ - ' lib/thor/parser/option.rb'
2834
2935# Indentation of when/else
30- CaseIndentation :
36+ Layout/ CaseIndentation :
3137 EnforcedStyle : end
3238 IndentOneStep : false
3339
34- StringLiterals :
40+ Style/ StringLiterals :
3541 EnforcedStyle : double_quotes
3642
3743Lint/AssignmentInCondition :
3844 Exclude :
3945 - ' lib/thor/line_editor/readline.rb'
4046 - ' lib/thor/parser/arguments.rb'
4147
42- Lint/EndAlignment :
43- Exclude :
44- - ' lib/thor/actions.rb'
45- - ' lib/thor/parser/option.rb'
46-
4748Security/Eval :
4849 Exclude :
4950 - ' spec/helper.rb'
5051
51- Lint/HandleExceptions :
52+ Lint/SuppressedException :
5253 Exclude :
5354 - ' lib/thor/line_editor/readline.rb'
5455
@@ -99,10 +100,15 @@ Style/GlobalVars:
99100 - ' spec/register_spec.rb'
100101 - ' spec/thor_spec.rb'
101102
102- Layout/IndentArray :
103+ Layout/FirstArrayElementIndentation :
103104 EnforcedStyle : consistent
104105
105- Style/MethodMissing :
106+ Lint/MissingSuper :
107+ Exclude :
108+ - ' lib/thor/error.rb'
109+ - ' spec/rake_compat_spec.rb'
110+
111+ Style/MissingRespondToMissing :
106112 Exclude :
107113 - ' lib/thor/core_ext/hash_with_indifferent_access.rb'
108114 - ' lib/thor/runner.rb'
0 commit comments