Showing 497 of 497 total issues

Element (pre.prettyprint) is overqualified, just use .prettyprint without element name.
Open

pre.prettyprint {
Severity: Minor
Found in src/pyff/site/static/css/style.css by csslint

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

footer h2 {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

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

.card-links a {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

Values of 0 shouldn't have units specified.
Open

  padding-right: 0px;
Severity: Minor
Found in src/pyff/site/static/css/style.css by csslint

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

  .btn-responsive {
Severity: Minor
Found in src/pyff/site/static/css/style.css by csslint

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

pre.prettyprint {
Severity: Minor
Found in src/pyff/site/static/css/style.css by csslint

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

.tt-suggestion > div {

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

footer h3 {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

Heading (h3) has already been defined.
Open

footer h3 {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

Adjoining classes: .tt-suggestion.tt-cursor div
Open

.tt-suggestion.tt-cursor div {

Heading (h3) should not be qualified.
Open

footer h3 {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

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

.card-deck .card {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

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

div.external {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

Expected (<length> | <percentage> | <content-sizing> | auto) but found 'device-width'.</content-sizing></percentage></length>
Open

@-o-viewport        { width: device-width; }
Severity: Minor
Found in src/pyff/site/static/css/style.css by csslint

Don't use IDs in selectors.
Open

#map_canvas { width: 100%; height: 350px; }
Severity: Minor
Found in src/pyff/site/static/css/style.css by csslint

The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype.
Open

                            for(var i in data)

Require Guarding for-in (guard-for-in)

Looping over objects with a for in loop will include properties that are inherited through the prototype chain. This behavior can lead to unexpected items in your for loop.

for (key in foo) {
    doSomething(key);
}

Note that simply checking foo.hasOwnProperty(key) is likely to cause an error in some cases; see [no-prototype-builtins](no-prototype-builtins.md).

Rule Details

This rule is aimed at preventing unexpected behavior that could arise from using a for in loop without filtering the results in the loop. As such, it will warn when for in loops do not filter their results with an if statement.

Examples of incorrect code for this rule:

/*eslint guard-for-in: "error"*/

for (key in foo) {
    doSomething(key);
}

Examples of correct code for this rule:

/*eslint guard-for-in: "error"*/

for (key in foo) {
    if (Object.prototype.hasOwnProperty.call(foo, key)) {
        doSomething(key);
    }
    if ({}.hasOwnProperty.call(foo, key)) {
        doSomething(key);
    }
}

Related Rules

  • [no-prototype-builtins](no-prototype-builtins.md)

Further Reading

Adjoining classes: .card-container.card
Open

.card-container.card {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

Values of 0 shouldn't have units specified.
Open

    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

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

p {
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint

Values of 0 shouldn't have units specified.
Open

    padding: .75rem 0rem;
Severity: Minor
Found in src/pyff/site/static/css/ra21.css by csslint
Severity
Category
Status
Source
Language