gerich-home/it-depends

View on GitHub
gulp/performance-tests.js

Summary

Maintainability
A
0 mins
Test Coverage

Unnecessary semicolon.
Open

};
Severity: Minor
Found in gulp/performance-tests.js by eslint

disallow unnecessary semicolons (no-extra-semi)

Typing mistakes and misunderstandings about where semicolons are required can lead to semicolons that are unnecessary. While not technically an error, extra semicolons can cause confusion when reading code.

Rule Details

This rule disallows unnecessary semicolons.

Examples of incorrect code for this rule:

/*eslint no-extra-semi: "error"*/

var x = 5;;

function foo() {
    // code
};

Examples of correct code for this rule:

/*eslint no-extra-semi: "error"*/

var x = 5;

var foo = function() {
    // code
};

When Not To Use It

If you intentionally use extra semicolons then you can disable this rule.

Related Rules

TODO found
Open

                    // TODO: Allow overrides per test be specified in some separate json config file
Severity: Minor
Found in gulp/performance-tests.js by fixme

TODO found
Open

        TODO: results seem to vary on different machines (90x times faster, 50x times slover). Ignore them for now.
Severity: Minor
Found in gulp/performance-tests.js by fixme

There are no issues that match your filters.

Category
Status