Showing 82 of 82 total issues
Rule doesn't have all its properties in alphabetical order. Open
Open
.sidebar .sidebar-nav.navbar-collapse {
- Exclude checks
Adjoining classes: .sidebar .active > a > .fa.arrow:before Open
Open
.sidebar .active>a>.fa.arrow:before {
- Exclude checks
Adjoining classes: .btn-warning.btn-outline:hover Open
Open
.btn-warning.btn-outline:hover,
- Exclude checks
Element (li.left) is overqualified, just use .left without element name. Open
Open
.chat li.left .chat-body {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.btn-circle {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.show-grid [class^=col-] {
- Exclude checks
Use of !important Open
Open
background-color: #eee!important;
- Exclude checks
Use ‘===’ to compare with ‘null’. Open
Open
if (this.y != null) {
- Read upRead up
- Exclude checks
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
Open
.btn-danger.btn-outline {
- Exclude checks
Adjoining classes: .btn-warning.btn-outline:hover Open
Open
.btn-warning.btn-outline:hover,
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
table.dataTable thead .sorting:after {
- Exclude checks
Attribute selectors with ^= are slow! Open
Open
.show-grid [class^=col-] {
- Exclude checks
Unqualified attribute selectors are known to be slow. Open
Open
.show-grid [class^=col-] {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.flot-chart-content {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.btn-circle.btn-xl {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
footer .footer-nav {
- Exclude checks
Adjoining classes: .btn-success.btn-outline Open
Open
.btn-success.btn-outline {
- Exclude checks
Adjoining classes: .btn-info.btn-outline:hover Open
Open
.btn-info.btn-outline:hover,
- Exclude checks
Element (li.right) is overqualified, just use .right without element name. Open
Open
.chat li.right .chat-body {
- Exclude checks
Adjoining classes: .btn-circle.btn-lg Open
Open
.btn-circle.btn-lg {
- Exclude checks