Showing 1,727 of 1,727 total issues
Selector event-box__event-title
should be written in lowercase with hyphens Open
Open
.event-box__event-title {
- Exclude checks
Line should be indented 2 spaces, but was indented 6 spaces Open
Open
background-size: auto auto;
- Exclude checks
Inconsistent indentation detected. Open
Open
def simplified_name_for(field_name)
field_name.remove("updated").gsub("_", " ")
end
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
Open
attr_reader :user, :group, :role
- Read upRead up
- Exclude checks
This cops checks for inconsistent indentation.
Example:
class A
def test
puts 'hello'
puts 'world'
end
end
Inconsistent indentation detected. Open
Open
attr_reader :user, :group, :role
- 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
subject: "Welcome to Prevy!"
- 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"
!important should not be used Open
Open
margin-bottom: 2rem !important;
- Exclude checks
Avoid vendor prefixes. Open
Open
-moz-box-sizing: border-box;
- Exclude checks
Color literals like rgba(75, 12, 178, 0.0095)
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
Color #4B0CB2
should be written as #4b0cb2
Open
Open
$primary-dark: #4B0CB2;
- Exclude checks
Prefer single quoted strings Open
Open
@import "vendor/bootstrap-custom";
- Exclude checks
Prefer single quoted strings Open
Open
@import "components/box";
- Exclude checks
Prefer single quoted strings Open
Open
@import "layout/search-bar";
- Exclude checks
Prefer single quoted strings Open
Open
@import "trix/dist/trix";
- Exclude checks
!important should not be used Open
Open
border-radius: 0 !important;
- Exclude checks
Properties should be ordered border-radius, display, height, margin, position, top, width Open
Open
position: relative;
- Exclude checks
Color #3BB662
should be written as #3bb662
Open
Open
background: #3BB662;
- Exclude checks
Shorthand form for property padding
should be written more concisely as 0 7px
instead of 0 7px 0 7px
Open
Open
padding: 0 7px 0 7px;
- Exclude checks
Color white
should be written in hexadecimal form as #ffffff
Open
Open
border-color: rgba(white, .5);
- 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