Showing 792 of 792 total issues
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:hover Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:hover,
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active,
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default[disabled] Open
Open
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default[disabled] {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.bootstrap-switch input[type='radio'],
- Exclude checks
Don't use IDs in selectors. Open
Open
#toolbar.affix {
- Exclude checks
Redundant curly braces around a hash parameter. Open
Open
new({
name: 'Title',
address: 'Contact Address',
description: 'Activities',
website: 'website',
- Read upRead up
- Exclude checks
This cop checks for braces around the last parameter in a method call
if the last parameter is a hash.
It supports braces
, no_braces
and context_dependent
styles.
Example: EnforcedStyle: braces
# The `braces` style enforces braces around all method
# parameters that are hashes.
# bad
some_method(x, y, a: 1, b: 2)
# good
some_method(x, y, {a: 1, b: 2})
Example: EnforcedStyle: no_braces (default)
# The `no_braces` style checks that the last parameter doesn't
# have braces around it.
# bad
some_method(x, y, {a: 1, b: 2})
# good
some_method(x, y, a: 1, b: 2)
Example: EnforcedStyle: context_dependent
# The `context_dependent` style checks that the last parameter
# doesn't have braces around it, but requires braces if the
# second to last parameter is also a hash literal.
# bad
some_method(x, y, {a: 1, b: 2})
some_method(x, y, {a: 1, b: 2}, a: 1, b: 2)
# good
some_method(x, y, a: 1, b: 2)
some_method(x, y, {a: 1, b: 2}, {a: 1, b: 2})
Line is too long. [100/90] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
# superadmin false, pending_organisation pending_organisation!=organisation org != organisation
- Exclude checks
Align the operands of a condition in an if
statement spanning multiple lines. Open
Open
(@sym == :who_they_help && other.sym == :how_they_help)
- Read upRead up
- Exclude checks
This cop checks the indentation of the right hand side operand in binary operations that span more than one line.
Example:
# bad
if a +
b
something
end
# good
if a +
b
something
end
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active Open
Open
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active,
- Exclude checks
Property with star prefix found. Open
Open
*background-color: #ec4844;
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active,
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active,
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default.active,
- Exclude checks
Adjoining classes: a.btn.pull-right Open
Open
a.btn.pull-right {
- Exclude checks
Line contains a trailing semicolon Open
Open
menu = $('#menuLogin');
- Exclude checks
Line is too long. [93/90] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
validates_url :website, preferred_scheme: 'http://', message: 'Website is not a valid URL',
- Exclude checks
Line is too long. [97/90] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
# should we have a before_save here where we check if the pending_organization_id is going from
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.disabled Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.disabled,
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.disabled Open
Open
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger.disabled,
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default,
- Exclude checks