Tafkas/solarpi

View on GitHub

Showing 82 of 82 total issues

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

.sidebar .sidebar-nav.navbar-collapse {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Adjoining classes: .sidebar .active > a > .fa.arrow:before
Open

.sidebar .active>a>.fa.arrow:before {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Adjoining classes: .btn-warning.btn-outline:hover
Open

.btn-warning.btn-outline:hover,
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Element (li.left) is overqualified, just use .left without element name.
Open

.chat li.left .chat-body {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

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

.btn-circle {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

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

.show-grid [class^=col-] {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Use of !important
Open

    background-color: #eee!important;
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Use ‘===’ to compare with ‘null’.
Open

                        if (this.y != null) {

Disallow Null Comparisons (no-eq-null)

Comparing to null without a type-checking operator (== or !=), can have unintended results as the comparison will evaluate to true when comparing to not just a null, but also an undefined value.

if (foo == null) {
  bar();
}

Rule Details

The no-eq-null rule aims reduce potential bug and unwanted behavior by ensuring that comparisons to null only match null, and not also undefined. As such it will flag comparisons to null when using == and !=.

Examples of incorrect code for this rule:

/*eslint no-eq-null: "error"*/

if (foo == null) {
  bar();
}

while (qux != null) {
  baz();
}

Examples of correct code for this rule:

/*eslint no-eq-null: "error"*/

if (foo === null) {
  bar();
}

while (qux !== null) {
  baz();
}

Source: http://eslint.org/docs/rules/

Adjoining classes: .btn-danger.btn-outline
Open

.btn-danger.btn-outline {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Adjoining classes: .btn-warning.btn-outline:hover
Open

.btn-warning.btn-outline:hover,
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

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

table.dataTable thead .sorting:after {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Attribute selectors with ^= are slow!
Open

.show-grid [class^=col-] {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Unqualified attribute selectors are known to be slow.
Open

.show-grid [class^=col-] {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

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

.flot-chart-content {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

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

.btn-circle.btn-xl {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

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

footer .footer-nav {
Severity: Minor
Found in solarpi/static/css/style.css by csslint

Adjoining classes: .btn-success.btn-outline
Open

.btn-success.btn-outline {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Adjoining classes: .btn-info.btn-outline:hover
Open

.btn-info.btn-outline:hover,
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Element (li.right) is overqualified, just use .right without element name.
Open

.chat li.right .chat-body {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint

Adjoining classes: .btn-circle.btn-lg
Open

.btn-circle.btn-lg {
Severity: Minor
Found in solarpi/static/css/sb-admin-2.css by csslint
Severity
Category
Status
Source
Language