ikuseiGmbH/smart-village-app-cms

View on GitHub

Showing 1,158 of 1,254 total issues

Adjoining classes: body .navbar-nav.sidebar
Open

body .navbar-nav.sidebar {
Severity: Minor
Found in app/assets/stylesheets/custom.css by csslint

Don't use IDs in selectors.
Open

  #sidebarToggleTop.toggled {
Severity: Minor
Found in app/assets/stylesheets/custom.css by csslint

Adjoining classes: body .btn-primary:not(:disabled):not(.disabled).active
Open

body .btn-primary:not(:disabled):not(.disabled).active,
Severity: Minor
Found in app/assets/stylesheets/custom.css by csslint

Parsing error: parser.parse is not a function
Open

/**
Severity: Minor
Found in lib/jsonform-defaults.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Parsing error: parser.parse is not a function
Open

/**
Severity: Minor
Found in lib/jsonform-split.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Adjoining classes: .btn.btn-primary.btn--big
Open

.btn.btn-primary.btn--big {
Severity: Minor
Found in app/assets/stylesheets/custom.css by csslint

Rule doesn't have all its properties in alphabetical order.
Open

.matrix-checkbox::before {
Severity: Minor
Found in app/assets/stylesheets/custom.css by csslint

Parsing error: parser.parse is not a function
Open

/* Copyright (c) 2012 Joshfire - MIT license */
Severity: Minor
Found in lib/jsonform.js by eslint

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.
Severity: Minor
Found in app/javascript/channels/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Adjoining classes: .show > .btn-primary.dropdown-toggle
Open

.show > .btn-primary.dropdown-toggle {
Severity: Minor
Found in app/assets/stylesheets/custom.css by csslint

2 IDs in the selector, really?
Open

body #wrapper #content-wrapper {
Severity: Minor
Found in app/assets/stylesheets/custom.css by csslint

Don't use IDs in selectors.
Open

  #sidebarToggleTop {
Severity: Minor
Found in app/assets/stylesheets/custom.css by csslint

Parsing error: parser.parse is not a function
Open

//= link_tree ../images
Severity: Minor
Found in app/assets/config/manifest.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Parsing error: parser.parse is not a function
Open

module.exports = function babelConfig(api) {
Severity: Minor
Found in babel.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use compact module/class definition instead of nested style.
Open

module ApplicationCable

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',
Severity: Minor
Found in app/helpers/application_helper.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"

Line is too long. [122/100]
Open

      flash[:error] = "Achtung! Verbindungsproblem zum Server, bitte versuchen Sie es später noch einmal (#{result.body})"

Missing magic comment # frozen_string_literal: true.
Open

module DashboardHelper
Severity: Minor
Found in app/helpers/dashboard_helper.rb by rubocop

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
Severity: Minor
Found in app/helpers/tours_helper.rb by rubocop

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
Severity: Minor
Found in app/helpers/application_helper.rb by rubocop

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
Severity
Category
Status
Source
Language