tansaku/LocalSupport

View on GitHub

Showing 943 of 943 total issues

Duplicate property 'filter' found.
Open

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:active
Open

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:active,

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active
Open

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.active {

Use of !important
Open

  position: absolute !important;

Line is too long. [93/90] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

  validates_url :website, preferred_scheme: 'http://', message: 'Website is not a valid URL',
Severity: Minor
Found in app/models/base_organisation.rb by rubocop

Line is too long. [93/90] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
Open

  has_many :categories, :through => :category_organisations, :foreign_key => :organisation_id
Severity: Minor
Found in app/models/base_organisation.rb by rubocop

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.disabled
Open

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger.disabled,

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active
Open

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger:active,

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active
Open

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger:active,

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:hover
Open

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:hover,

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:focus
Open

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default:focus,

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.disabled
Open

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default.disabled,

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default[disabled]
Open

.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default[disabled] {

Adjoining classes: .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active
Open

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default:active,

Expected (<filter-function-list> | none) but found 'progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff' endColorstr='#ffe6e6e6' GradientType=0)'.</filter-function-list>
Open

  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);

Property with star prefix found.
Open

  *background-color: #e6e6e6;

Don't use IDs in selectors.
Open

#preview_email {

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

Autotest.add_discovery { "rails" }
Severity: Minor
Found in autotest/discover.rb by rubocop

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"

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

Autotest.add_discovery { "rspec2" }
Severity: Minor
Found in autotest/discover.rb by rubocop

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"

Favor unless over if for negative conditions. (https://github.com/bbatsov/ruby-style-guide#unless-for-negatives)
Open

    @proposer_email = @proposed_organisation.users.first.email if !@proposed_organisation.users.empty?

Checks for uses of if with a negated condition. Only ifs without else are considered. There are three different styles:

- both
- prefix
- postfix

Example: EnforcedStyle: both (default)

# enforces `unless` for `prefix` and `postfix` conditionals

# bad

if !foo
  bar
end

# good

unless foo
  bar
end

# bad

bar if !foo

# good

bar unless foo

Example: EnforcedStyle: prefix

# enforces `unless` for just `prefix` conditionals

# bad

if !foo
  bar
end

# good

unless foo
  bar
end

# good

bar if !foo

Example: EnforcedStyle: postfix

# enforces `unless` for just `postfix` conditionals

# bad

bar if !foo

# good

bar unless foo

# good

if !foo
  bar
end
Severity
Category
Status
Source
Language