jjeremydiaz/OpenHouse

View on GitHub
config/initializers/assets.rb

Summary

Maintainability
A
0 mins
Test Coverage

Do not use spaces inside percent literal delimiters.
Open

Rails.application.config.assets.precompile += %w( images/*.png )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Checks for unnecessary additional spaces inside the delimiters of %i/%w/%x literals.

Example:

# good
%i(foo bar baz)

# bad
%w( foo bar baz )

# bad
%x(  ls -l )

Do not use spaces inside percent literal delimiters.
Open

Rails.application.config.assets.precompile += %w( images/*.jpg )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Checks for unnecessary additional spaces inside the delimiters of %i/%w/%x literals.

Example:

# good
%i(foo bar baz)

# bad
%w( foo bar baz )

# bad
%x(  ls -l )

Do not use spaces inside percent literal delimiters.
Open

Rails.application.config.assets.precompile += %w( images/*.jpg )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Checks for unnecessary additional spaces inside the delimiters of %i/%w/%x literals.

Example:

# good
%i(foo bar baz)

# bad
%w( foo bar baz )

# bad
%x(  ls -l )

Do not use spaces inside percent literal delimiters.
Open

Rails.application.config.assets.precompile += %w( images/*.png )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Checks for unnecessary additional spaces inside the delimiters of %i/%w/%x literals.

Example:

# good
%i(foo bar baz)

# bad
%w( foo bar baz )

# bad
%x(  ls -l )

Do not use spaces inside percent literal delimiters.
Open

Rails.application.config.assets.precompile += %w( user_images/* )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Checks for unnecessary additional spaces inside the delimiters of %i/%w/%x literals.

Example:

# good
%i(foo bar baz)

# bad
%w( foo bar baz )

# bad
%x(  ls -l )

%w-literals should be delimited by [ and ].
Open

Rails.application.config.assets.precompile += %w( user_images/* )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

This cop enforces the consistent usage of %-literal delimiters.

Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.

Example:

# Style/PercentLiteralDelimiters:
#   PreferredDelimiters:
#     default: '[]'
#     '%i':    '()'

# good
%w[alpha beta] + %i(gamma delta)

# bad
%W(alpha #{beta})

# bad
%I(alpha beta)

Final newline missing.
Open

Rails.application.config.assets.precompile += %w( house.jpg )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Do not use spaces inside percent literal delimiters.
Open

Rails.application.config.assets.precompile += %w( house.jpg )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Checks for unnecessary additional spaces inside the delimiters of %i/%w/%x literals.

Example:

# good
%i(foo bar baz)

# bad
%w( foo bar baz )

# bad
%x(  ls -l )

%w-literals should be delimited by [ and ].
Open

Rails.application.config.assets.precompile += %w( images/*.jpg )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

This cop enforces the consistent usage of %-literal delimiters.

Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.

Example:

# Style/PercentLiteralDelimiters:
#   PreferredDelimiters:
#     default: '[]'
#     '%i':    '()'

# good
%w[alpha beta] + %i(gamma delta)

# bad
%W(alpha #{beta})

# bad
%I(alpha beta)

Do not use spaces inside percent literal delimiters.
Open

Rails.application.config.assets.precompile += %w( house.jpg )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Checks for unnecessary additional spaces inside the delimiters of %i/%w/%x literals.

Example:

# good
%i(foo bar baz)

# bad
%w( foo bar baz )

# bad
%x(  ls -l )

Do not use spaces inside percent literal delimiters.
Open

Rails.application.config.assets.precompile += %w( user_images/* )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

Checks for unnecessary additional spaces inside the delimiters of %i/%w/%x literals.

Example:

# good
%i(foo bar baz)

# bad
%w( foo bar baz )

# bad
%x(  ls -l )

%w-literals should be delimited by [ and ].
Open

Rails.application.config.assets.precompile += %w( house.jpg )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

This cop enforces the consistent usage of %-literal delimiters.

Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.

Example:

# Style/PercentLiteralDelimiters:
#   PreferredDelimiters:
#     default: '[]'
#     '%i':    '()'

# good
%w[alpha beta] + %i(gamma delta)

# bad
%W(alpha #{beta})

# bad
%I(alpha beta)

Line is too long. [93/80]
Open

# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
Severity: Minor
Found in config/initializers/assets.rb by rubocop

%w-literals should be delimited by [ and ].
Open

Rails.application.config.assets.precompile += %w( images/*.png )
Severity: Minor
Found in config/initializers/assets.rb by rubocop

This cop enforces the consistent usage of %-literal delimiters.

Specify the 'default' key to set all preferred delimiters at once. You can continue to specify individual preferred delimiters to override the default.

Example:

# Style/PercentLiteralDelimiters:
#   PreferredDelimiters:
#     default: '[]'
#     '%i':    '()'

# good
%w[alpha beta] + %i(gamma delta)

# bad
%W(alpha #{beta})

# bad
%I(alpha beta)

There are no issues that match your filters.

Category
Status