HansHammel/watchmen

View on GitHub

Showing 1,086 of 1,086 total issues

Use of !important
Open

    color: inherit !important;
Severity: Minor
Found in coverage/lcov-report/base.css by csslint

Adjoining classes: .status-line.high
Open

.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
Severity: Minor
Found in coverage/lcov-report/base.css by csslint

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

.wrapper {
Severity: Minor
Found in coverage/lcov-report/base.css by csslint

The property -ms-user-select is compatible with -moz-user-select and should be included as well.
Open

.c3 text{-moz-user-select:none;user-select:none}
Severity: Minor
Found in webserver/public/build/style.css by csslint

Adjoining classes: .c3-circle._expanded_
Open

.c3-circle._expanded_{stroke-width:1px;stroke:#fff}
Severity: Minor
Found in webserver/public/build/style.css by csslint

Element (tr.result-error) is overqualified, just use .result-error without element name.
Open

.table-services tr.result-error .result-uptime a{color:#d9534f}
Severity: Minor
Found in webserver/public/build/style.css by csslint

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

.services-sidebar table td.name{max-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
Severity: Minor
Found in webserver/public/build/style.css by csslint

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

.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
Severity: Minor
Found in coverage/lcov-report/prettify.css by csslint

Don't use process.exit(); throw an error instead.
Open

  return process.exit(RETURN_CODES.BAD_STORAGE);
Severity: Minor
Found in run-web-server.js by eslint

Disallow process.exit() (no-process-exit)

The process.exit() method in Node.js is used to immediately stop the Node.js process and exit. This is a dangerous operation because it can occur in any method at any point in time, potentially stopping a Node.js application completely when an error occurs. For example:

if (somethingBadHappened) {
    console.error("Something bad happened!");
    process.exit(1);
}

This code could appear in any module and will stop the entire application when somethingBadHappened is truthy. This doesn't give the application any chance to respond to the error. It's usually better to throw an error and allow the application to handle it appropriately:

if (somethingBadHappened) {
    throw new Error("Something bad happened!");
}

By throwing an error in this way, other parts of the application have an opportunity to handle the error rather than stopping the application altogether. If the error bubbles all the way up to the process without being handled, then the process will exit and a non-zero exit code will returned, so the end result is the same.

Rule Details

This rule aims to prevent the use of process.exit() in Node.js JavaScript. As such, it warns whenever process.exit() is found in code.

Examples of incorrect code for this rule:

/*eslint no-process-exit: "error"*/

process.exit(1);
process.exit(0);

Examples of correct code for this rule:

/*eslint no-process-exit: "error"*/

Process.exit();
var exit = process.exit;

When Not To Use It

There may be a part of a Node.js application that is responsible for determining the correct exit code to return upon exiting. In that case, you should turn this rule off to allow proper handling of the exit code. Source: http://eslint.org/docs/rules/

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

.c3-circle._expanded_{stroke-width:1px;stroke:#fff}
Severity: Minor
Found in webserver/public/build/style.css by csslint

Adjoining classes: .c3-bar._expanded_
Open

.c3-bar._expanded_{fill-opacity:.75}
Severity: Minor
Found in webserver/public/build/style.css by csslint

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

.c3-tooltip td>span{display:inline-block;width:10px;height:10px;margin-right:6px}
Severity: Minor
Found in webserver/public/build/style.css by csslint

Element (tr.result-success) is overqualified, just use .result-success without element name.
Open

.table-services tr.result-success .result-uptime a{color:green}
Severity: Minor
Found in webserver/public/build/style.css by csslint

The universal selector (*) is known to be slow.
Open

*,:after,:before{box-sizing:inherit}
Severity: Minor
Found in webserver/public/build/style.css by csslint

Element (span.icon) is overqualified, just use .icon without element name.
Open

.filter-container span.icon{position:absolute;left:10px;padding:10px 12px;pointer-events:none}
Severity: Minor
Found in webserver/public/build/style.css by csslint

Element (div.filter-to-me) is overqualified, just use .filter-to-me without element name.
Open

.filter-container div.filter-to-me{padding-top:5px}
Severity: Minor
Found in webserver/public/build/style.css by csslint

The box-sizing property isn't supported in IE6 and IE7.
Open

          box-sizing:border-box;
Severity: Minor
Found in coverage/lcov-report/base.css by csslint

Rule is empty.
Open

.coverage-summary tfoot td { }
Severity: Minor
Found in coverage/lcov-report/base.css by csslint

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

.clearfix:after {
Severity: Minor
Found in coverage/lcov-report/base.css by csslint

Element (span.cline-neutral) is overqualified, just use .cline-neutral without element name.
Open

span.cline-neutral { background: #eaeaea; }
Severity: Minor
Found in coverage/lcov-report/base.css by csslint
Severity
Category
Status
Source
Language