Showing 792 of 792 total issues
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
Rule doesn't have all its properties in alphabetical order. Open
Open
#preview_email {
- Exclude checks
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
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active,
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active,
- Exclude checks
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
Expected (<filter-function-list> | none) but found 'progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6' endColorstr='#ffffffff' GradientType=0)'.</filter-function-list> Open
Open
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6', endColorstr='#ffffffff', GradientType=0);
- Exclude checks
Property with star prefix found. Open
Open
*background-color: #ffffff;
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:hover Open
Open
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:hover,
- Exclude checks
Using width with border-right can sometimes make elements larger than you expect. Open
Open
border-right: 1px solid #cccccc;
- Exclude checks
Duplicate property 'filter' found. Open
Open
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-label.active Open
Open
.bootstrap-switch .bootstrap-switch-label.active,
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://github.com/bbatsov/ruby-style-guide#consistent-string-literals) Open
Open
Autotest.add_discovery { "rails" }
- 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"
Use the new Ruby 1.9 hash syntax. (https://github.com/bbatsov/ruby-style-guide#hash-literals) Open
Open
belongs_to :base_organisation, :foreign_key => :organisation_id
- Read upRead up
- Exclude checks
This cop checks hash literal syntax.
It can enforce either the use of the class hash rocket syntax or the use of the newer Ruby 1.9 syntax (when applicable).
A separate offense is registered for each problematic pair.
The supported styles are:
- ruby19 - forces use of the 1.9 syntax (e.g.
{a: 1}
) when hashes have all symbols for keys - hash_rockets - forces use of hash rockets for all hashes
- nomixedkeys - simply checks for hashes with mixed syntaxes
- ruby19nomixed_keys - forces use of ruby 1.9 syntax and forbids mixed syntax hashes
Example: EnforcedStyle: ruby19 (default)
# bad
{:a => 2}
{b: 1, :c => 2}
# good
{a: 2, b: 1}
{:c => 2, 'd' => 2} # acceptable since 'd' isn't a symbol
{d: 1, 'e' => 2} # technically not forbidden
Example: EnforcedStyle: hash_rockets
# bad
{a: 1, b: 2}
{c: 1, 'd' => 5}
# good
{:a => 1, :b => 2}
Example: EnforcedStyle: nomixedkeys
# bad
{:a => 1, b: 2}
{c: 1, 'd' => 2}
# good
{:a => 1, :b => 2}
{c: 1, d: 2}
Example: EnforcedStyle: ruby19nomixed_keys
# bad
{:a => 1, :b => 2}
{c: 2, 'd' => 3} # should just use hash rockets
# good
{a: 1, b: 2}
{:c => 3, 'd' => 4}
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
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.active,
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:focus Open
Open
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:focus,
- Exclude checks
Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active Open
Open
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active {
- Exclude checks
Using width with border-left can sometimes make elements larger than you expect. Open
Open
border-left: 1px solid #cccccc;
- Exclude checks
Property with star prefix found. Open
Open
*background-color: #e6e6e6;
- Exclude checks