parent
5a64aefcea
commit
fe64d9841b
10
.rubocop.yml
10
.rubocop.yml
|
@ -109,6 +109,10 @@ Lint/NestedPercentLiteral:
|
||||||
- test/test_site.rb
|
- test/test_site.rb
|
||||||
Lint/NoReturnInBeginEndBlocks:
|
Lint/NoReturnInBeginEndBlocks:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
Lint/NumberedParameterAssignment:
|
||||||
|
Enabled: true
|
||||||
|
Lint/OrAssignmentToConstant:
|
||||||
|
Enabled: true
|
||||||
Lint/OutOfRangeRegexpRef:
|
Lint/OutOfRangeRegexpRef:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Lint/RaiseException:
|
Lint/RaiseException:
|
||||||
|
@ -121,12 +125,16 @@ Lint/SelfAssignment:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Lint/StructNewOverride:
|
Lint/StructNewOverride:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
Lint/SymbolConversion:
|
||||||
|
Enabled: true
|
||||||
Lint/ToEnumArguments:
|
Lint/ToEnumArguments:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Lint/TopLevelReturnWithArgument:
|
Lint/TopLevelReturnWithArgument:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Lint/TrailingCommaInAttributeDeclaration:
|
Lint/TrailingCommaInAttributeDeclaration:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
Lint/TripleQuotes:
|
||||||
|
Enabled: true
|
||||||
Lint/UnexpectedBlockArity:
|
Lint/UnexpectedBlockArity:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Lint/UnmodifiedReduceAccumulator:
|
Lint/UnmodifiedReduceAccumulator:
|
||||||
|
@ -321,6 +329,8 @@ Style/HashTransformKeys:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/HashTransformValues:
|
Style/HashTransformValues:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
Style/IfWithBooleanLiteralBranches:
|
||||||
|
Enabled: true
|
||||||
Style/KeywordParametersOrder:
|
Style/KeywordParametersOrder:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Style/MixinUsage:
|
Style/MixinUsage:
|
||||||
|
|
2
Gemfile
2
Gemfile
|
@ -23,7 +23,7 @@ group :test do
|
||||||
gem "nokogiri", "~> 1.7"
|
gem "nokogiri", "~> 1.7"
|
||||||
gem "rspec"
|
gem "rspec"
|
||||||
gem "rspec-mocks"
|
gem "rspec-mocks"
|
||||||
gem "rubocop", "~> 1.8.1"
|
gem "rubocop", "~> 1.9.1"
|
||||||
gem "rubocop-minitest"
|
gem "rubocop-minitest"
|
||||||
gem "rubocop-performance"
|
gem "rubocop-performance"
|
||||||
gem "rubocop-rake"
|
gem "rubocop-rake"
|
||||||
|
|
Loading…
Reference in New Issue