Showing 1,727 of 1,727 total issues
Properties should be ordered margin-bottom, margin-top, width Open
Open
margin-top: .6rem;
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
fill: #fff;
- Exclude checks
Color literals like #fff
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
color: #fff;
- Exclude checks
Properties should be ordered -moz-appearance, -webkit-appearance, appearance, background, background-size, border, border-radius, color, display, height, line-height, max-width, padding, vertical-align Open
Open
display: inline-block;
- Exclude checks
Shorthand form for property padding
should be written more concisely as .5rem .33rem .6rem
instead of .5rem .33rem .6rem .33rem
Open
Open
padding: .5rem .33rem .6rem .33rem;
- Exclude checks
Properties should be ordered bottom, color, font-size, font-weight, left, margin-bottom, margin-right, position, text-align, text-shadow Open
Open
left: 1.1rem;
- Exclude checks
Properties should be ordered font-size, margin-bottom Open
Open
margin-bottom: 0.5rem;
- Exclude checks
Selector event-box-big__website
should be written in lowercase with hyphens Open
Open
.event-box-big__website {
- Exclude checks
Extra empty line detected at class body end. Open
Open
end
- Read upRead up
- Exclude checks
This cops checks if empty lines around the bodies of classes match the configuration.
Example: EnforcedStyle: empty_lines
# good
class Foo
def bar
# ...
end
end
Example: EnforcedStyle: emptylinesexcept_namespace
# good
class Foo
class Bar
# ...
end
end
Example: EnforcedStyle: emptylinesspecial
# good
class Foo
def bar; end
end
Example: EnforcedStyle: noemptylines (default)
# good
class Foo
def bar
# ...
end
end
0.375
should be written without a leading zero as .375
Open
Open
padding: 0.375rem 1.5rem 0.375rem 0.75rem;
- Exclude checks
Freeze mutable objects assigned to constants. Open
Open
STANDARD_SIZE = [730, 411]
- Read upRead up
- Exclude checks
This cop checks whether some constant value isn't a mutable literal (e.g. array or hash).
Example:
# bad
CONST = [1, 2, 3]
# good
CONST = [1, 2, 3].freeze
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
cloudinary_transformation quality: "auto"
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Inconsistent indentation detected. Open
Open
def group_role_notification_email(params)
@user = params[:user]
@group = params[:group]
@role = params[:role]
@url = user_notifications_url(@user)
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
spring = lockfile.specs.detect { |spec| spec.name == "spring" }
- Read upRead up
- Exclude checks
Checks if uses of quotes match the configured preference.
Example: EnforcedStyle: single_quotes (default)
# bad
"No special symbols"
"No string interpolation"
"Just text"
# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"
Example: EnforcedStyle: double_quotes
# bad
'Just some text'
'No special chars or interpolation'
# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"
Selector user-box__name
should be written in lowercase with hyphens Open
Open
.user-box__name,
- Exclude checks
Color literals like rgba(75, 12, 178, 0.032)
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
background: linear-gradient(rgba(75, 12, 178, 0.0095), rgba(75, 12, 178, 0.032));
- Exclude checks
Selector drawings-community__text
should be written in lowercase with hyphens Open
Open
.drawings-community__text {
- Exclude checks
Prefer single quoted strings Open
Open
@import "abstracts/mixins";
- Exclude checks
Prefer single quoted strings Open
Open
@import "sections/groups";
- Exclude checks
Prefer single quoted strings Open
Open
@import "sections/events";
- Exclude checks