Showing 815 of 815 total issues
Line is too long. [102/80] Open
Open
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
- Exclude checks
Line is too long. [85/80] Open
Open
# Settings specified here will take precedence over those in config/application.rb.
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.intro-message>h2 {
- Exclude checks
Heading (h1) has already been defined. Open
Open
.intro-message>h1 {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.intro-message>h3 {
- Exclude checks
Heading (h2) has already been defined. Open
Open
.intro-message>h2 {
- Exclude checks
Heading (h2) should not be qualified. Open
Open
.intro-message>h2 {
- Exclude checks
Values of 0 shouldn't have units specified. Open
Open
margin-bottom: 0px;
- Exclude checks
Heading (h2) should not be qualified. Open
Open
.banner h2 {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
footer {
- Exclude checks
Extra blank line detected. Open
Open
# Do not fallback to assets pipeline if a precompiled asset is missed.
- Read upRead up
- Exclude checks
This cops checks for two or more consecutive blank lines.
Example:
# bad - It has two empty lines.
some_method
# one empty line
# two empty lines
some_method
# good
some_method
# one empty line
some_method
Line is too long. [82/80] Open
Open
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
- Exclude checks
Heading (h1) should not be qualified. Open
Open
.intro-message>h1 {
- Exclude checks
Values of 0 shouldn't have units specified. Open
Open
margin: 0 0 0px;
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.section-heading-spacer {
- Exclude checks
Heading (h2) has already been defined. Open
Open
.banner h2 {
- Exclude checks
Line is too long. [93/80] Open
Open
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
- Exclude checks
Using width with padding can sometimes make elements larger than you expect. Open
Open
padding: 5px;
- Exclude checks
Do not use spaces inside percent literal delimiters. Open
Open
Rails.application.config.assets.precompile += %w( house.jpg )
- Read upRead up
- Exclude checks
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
Open
Rails.application.config.assets.precompile += %w( user_images/* )
- Read upRead up
- Exclude checks
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)