Showing 1,158 of 1,254 total issues
Adjoining classes: body .navbar-nav.sidebar Open
body .navbar-nav.sidebar {
- Exclude checks
Don't use IDs in selectors. Open
#sidebarToggleTop.toggled {
- Exclude checks
Adjoining classes: body .btn-primary:not(:disabled):not(.disabled).active Open
body .btn-primary:not(:disabled):not(.disabled).active,
- Exclude checks
Parsing error: parser.parse is not a function Open
/**
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Parsing error: parser.parse is not a function Open
/**
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Adjoining classes: .btn.btn-primary.btn--big Open
.btn.btn-primary.btn--big {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
.matrix-checkbox::before {
- Exclude checks
Parsing error: parser.parse is not a function Open
/* Copyright (c) 2012 Joshfire - MIT license */
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Parsing error: parser.parse is not a function Open
// Load all the channels within this directory and all subdirectories.
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Adjoining classes: .show > .btn-primary.dropdown-toggle Open
.show > .btn-primary.dropdown-toggle {
- Exclude checks
2 IDs in the selector, really? Open
body #wrapper #content-wrapper {
- Exclude checks
Don't use IDs in selectors. Open
#sidebarToggleTop {
- Exclude checks
Parsing error: parser.parse is not a function Open
//= link_tree ../images
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Parsing error: parser.parse is not a function Open
module.exports = function babelConfig(api) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Use compact module/class definition instead of nested style. Open
module ApplicationCable
- Read upRead up
- Exclude checks
This cop checks the style of children definitions at classes and modules. Basically there are two different styles:
Example: EnforcedStyle: nested (default)
# good
# have each child on its own line
class Foo
class Bar
end
end
Example: EnforcedStyle: compact
# good
# combine definitions as much as possible
class Foo::Bar
end
The compact style is only forced for classes/modules with one child.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Open
item.visible ? 'freigegeben' : 'gesperrt',
- 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"
Line is too long. [122/100] Open
flash[:error] = "Achtung! Verbindungsproblem zum Server, bitte versuchen Sie es später noch einmal (#{result.body})"
- Exclude checks
Missing magic comment # frozen_string_literal: true
. Open
module DashboardHelper
- Read upRead up
- Exclude checks
This cop is designed to help upgrade to after Ruby 3.0. It will add the
comment # frozen_string_literal: true
to the top of files to
enable frozen string literals. Frozen string literals may be default
after Ruby 3.0. The comment will be added below a shebang and encoding
comment. The frozen string literal comment is only valid in Ruby 2.3+.
Example: EnforcedStyle: always (default)
# The `always` style will always add the frozen string literal comment
# to a file, regardless of the Ruby version or if `freeze` or `<<` are
# called on a string literal.
# bad
module Bar
# ...
end
# good
# frozen_string_literal: true
module Bar
# ...
end
Example: EnforcedStyle: never
# The `never` will enforce that the frozen string literal comment does
# not exist in a file.
# bad
# frozen_string_literal: true
module Baz
# ...
end
# good
module Baz
# ...
end
Missing top-level module documentation comment. Open
module ToursHelper
- Read upRead up
- Exclude checks
This cop checks for missing top-level documentation of classes and modules. Classes with no body are exempt from the check and so are namespace modules - modules that have nothing in their bodies except classes, other modules, or constant definitions.
The documentation requirement is annulled if the class or module has a "#:nodoc:" comment next to it. Likewise, "#:nodoc: all" does the same for all its children.
Example:
# bad
class Person
# ...
end
# good
# Description/Explanation of Person class
class Person
# ...
end
Missing magic comment # frozen_string_literal: true
. Open
module ApplicationHelper
- Read upRead up
- Exclude checks
This cop is designed to help upgrade to after Ruby 3.0. It will add the
comment # frozen_string_literal: true
to the top of files to
enable frozen string literals. Frozen string literals may be default
after Ruby 3.0. The comment will be added below a shebang and encoding
comment. The frozen string literal comment is only valid in Ruby 2.3+.
Example: EnforcedStyle: always (default)
# The `always` style will always add the frozen string literal comment
# to a file, regardless of the Ruby version or if `freeze` or `<<` are
# called on a string literal.
# bad
module Bar
# ...
end
# good
# frozen_string_literal: true
module Bar
# ...
end
Example: EnforcedStyle: never
# The `never` will enforce that the frozen string literal comment does
# not exist in a file.
# bad
# frozen_string_literal: true
module Baz
# ...
end
# good
module Baz
# ...
end