NMandapaty/ArcticVoice

View on GitHub

Showing 22,124 of 22,124 total issues

Heading (h3) has already been defined.
Open

h1, h2, h3, h4 {

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

      .group_tabs li a:active {

Missing vendor-prefixed CSS gradients for Webkit (Safari 5+, Chrome), Opera 11.1+.
Open

      .group_tabs li a:hover {

Values of 0 shouldn't have units specified.
Open

      text-shadow: white 1px 1px 0px;

Missing vendor-prefixed CSS gradients for Webkit (Safari 5+, Chrome), Opera 11.1+.
Open

    .group_tabs li.active a {

Values of 0 shouldn't have units specified.
Open

        #cboxNext:hover{background-position:-75px 0px;}

Heading (h4) has already been defined.
Open

h1, h2, h3, h4 {

Don't use IDs in selectors.
Open

#content {

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

    .group_tabs li a {

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

#content {

Heading (h1) has already been defined.
Open

h1, h2, h3, h4 {

Missing vendor-prefixed CSS gradients for Webkit (Safari 5+, Chrome), Opera 11.1+.
Open

  .source_table pre .hits {

Unexpected string concatenation of literals.
Open

      infoWindowContent.push(['<div class="info_content">' + "<h3><a href='/posts/" +  markers[i]["id"] + "'" + 'target="_blank" rel="noopener noreferrer">' + markers[i]["marker_title"] + '</a></h3>' + '<p>'+ window.authors[i] + '</p>' + '</div>']);
Severity: Minor
Found in app/assets/javascripts/map.js by eslint

Disallow unnecessary concatenation of strings (no-useless-concat)

It's unnecessary to concatenate two strings together, such as:

var foo = "a" + "b";

This code is likely the result of refactoring where a variable was removed from the concatenation (such as "a" + b + "b"). In such a case, the concatenation isn't important and the code can be rewritten as:

var foo = "ab";

Rule Details

This rule aims to flag the concatenation of 2 literals when they could be combined into a single literal. Literals can be strings or template literals.

Examples of incorrect code for this rule:

/*eslint no-useless-concat: "error"*/
/*eslint-env es6*/

// these are the same as "10"
var a = `some` + `string`;
var a = '1' + '0';
var a = '1' + `0`;
var a = `1` + '0';
var a = `1` + `0`;

Examples of correct code for this rule:

/*eslint no-useless-concat: "error"*/

// when a non string is included
var c = a + b;
var c = '1' + a;
var a = 1 + '1';
var c = 1 - 2;
// when the string concatenation is multiline
var c = "foo" +
    "bar";

When Not To Use It

If you don't want to be notified about unnecessary string concatenation, you can safely disable this rule. Source: http://eslint.org/docs/rules/

Don't use IDs in selectors.
Open

        .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}

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

  .source_table pre .hits {

Values of 0 shouldn't have units specified.
Open

        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}

Heading (h4) has already been defined.
Open

.source_table h3, .source_table h4 {

Values of 0 shouldn't have units specified.
Open

    margin: 0px;

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

  .source_table pre li {

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

.source_table pre {
Severity
Category
Status
Source
Language