albertyw/apple_vpp

View on GitHub
lib/apple_vpp/error.rb

Summary

Maintainability
A
0 mins
Test Coverage
C
78%

Do not use space inside array brackets.
Open

             9620, 9621, 9622, 9623, 9625, 9626, 9630 ]
Severity: Minor
Found in lib/apple_vpp/error.rb by rubocop

Checks that brackets used for array literals have or don't have surrounding space depending on configuration.

Example: EnforcedStyle: space

# The `space` style enforces that array literals have
# surrounding space.

# bad
array = [a, b, c, d]

# good
array = [ a, b, c, d ]

Example: EnforcedStyle: no_space

# The `no_space` style enforces that array literals have
# no surrounding space.

# bad
array = [ a, b, c, d ]

# good
array = [a, b, c, d]

Example: EnforcedStyle: compact

# The `compact` style normally requires a space inside
# array brackets, with the exception that successive left
# or right brackets are collapsed together in nested arrays.

# bad
array = [ a, [ b, c ] ]

# good
array = [ a, [ b, c ]]

There are no issues that match your filters.

Category
Status