Mikej81/WebRDP

View on GitHub

Showing 963 of 964 total issues

Do not use 'new' for side effects.
Open

        new Jimp(size.width, size.height, function(err2, newImage) {
Severity: Minor
Found in socket/screen.js by eslint

Disallow new For Side Effects (no-new)

The goal of using new with a constructor is typically to create an object of a particular type and store that object in a variable, such as:

var person = new Person();

It's less common to use new and not store the result, such as:

new Person();

In this case, the created object is thrown away because its reference isn't stored anywhere, and in many cases, this means that the constructor should be replaced with a function that doesn't require new to be used.

Rule Details

This rule is aimed at maintaining consistency and convention by disallowing constructor calls using the new keyword that do not assign the resulting object to a variable.

Examples of incorrect code for this rule:

/*eslint no-new: "error"*/

new Thing();

Examples of correct code for this rule:

/*eslint no-new: "error"*/

var thing = new Thing();

Thing();

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

Use of !important
Open

        display:inline-block!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:table-row!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:none!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:table-cell!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:block!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Do not use 'new' for side effects.
Open

    new Jimp(32,32, function(err, pImage) {
Severity: Minor
Found in socket/screen.js by eslint

Disallow new For Side Effects (no-new)

The goal of using new with a constructor is typically to create an object of a particular type and store that object in a variable, such as:

var person = new Person();

It's less common to use new and not store the result, such as:

new Person();

In this case, the created object is thrown away because its reference isn't stored anywhere, and in many cases, this means that the constructor should be replaced with a function that doesn't require new to be used.

Rule Details

This rule is aimed at maintaining consistency and convention by disallowing constructor calls using the new keyword that do not assign the resulting object to a variable.

Examples of incorrect code for this rule:

/*eslint no-new: "error"*/

new Thing();

Examples of correct code for this rule:

/*eslint no-new: "error"*/

var thing = new Thing();

Thing();

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

Use of !important
Open

    float:left!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

    display:none!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:table-cell!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:table!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

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

    width:device-width
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:table-cell!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:inline!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:inline-block!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:block!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:none!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

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

.text-hide{
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

    display:none!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint

Use of !important
Open

        display:table!important
Severity: Minor
Found in client/css/bootstrap.min.css by csslint
Severity
Category
Status
Source
Language