Fix Layout/FirstArrayElementIndentation cop.
This commit is contained in:
parent
57fa5013c0
commit
deabe02798
|
|
@ -16,13 +16,6 @@ Layout/EmptyLinesAroundAttributeAccessor:
|
|||
- 'lib/zip/filesystem.rb'
|
||||
- 'samples/gtk_ruby_zip.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: IndentationWidth.
|
||||
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
||||
Layout/FirstArrayElementIndentation:
|
||||
EnforcedStyle: consistent
|
||||
|
||||
# Offense count: 7
|
||||
Lint/MissingSuper:
|
||||
Exclude:
|
||||
|
|
|
|||
10
.simplecov
10
.simplecov
|
|
@ -9,10 +9,12 @@ SimpleCov::Formatter::LcovFormatter.config do |c|
|
|||
c.single_report_path = 'coverage/lcov.info'
|
||||
end
|
||||
|
||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
|
||||
SimpleCov::Formatter::HTMLFormatter,
|
||||
SimpleCov::Formatter::LcovFormatter
|
||||
])
|
||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
||||
[
|
||||
SimpleCov::Formatter::HTMLFormatter,
|
||||
SimpleCov::Formatter::LcovFormatter
|
||||
]
|
||||
)
|
||||
|
||||
SimpleCov.start do
|
||||
# enable_coverage :branch <-- Re-enable this when we move to ruby ~> 2.5.
|
||||
|
|
|
|||
Loading…
Reference in New Issue