Showing 22,124 of 22,124 total issues
Heading (h3) has already been defined. Open
Open
h1, h2, h3, h4 {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.group_tabs li a:active {
- Exclude checks
Missing vendor-prefixed CSS gradients for Webkit (Safari 5+, Chrome), Opera 11.1+. Open
Open
.group_tabs li a:hover {
- Exclude checks
Values of 0 shouldn't have units specified. Open
Open
text-shadow: white 1px 1px 0px;
- Exclude checks
Missing vendor-prefixed CSS gradients for Webkit (Safari 5+, Chrome), Opera 11.1+. Open
Open
.group_tabs li.active a {
- Exclude checks
Values of 0 shouldn't have units specified. Open
Open
#cboxNext:hover{background-position:-75px 0px;}
- Exclude checks
Heading (h4) has already been defined. Open
Open
h1, h2, h3, h4 {
- Exclude checks
Don't use IDs in selectors. Open
Open
#content {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.group_tabs li a {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
#content {
- Exclude checks
Heading (h1) has already been defined. Open
Open
h1, h2, h3, h4 {
- Exclude checks
Missing vendor-prefixed CSS gradients for Webkit (Safari 5+, Chrome), Opera 11.1+. Open
Open
.source_table pre .hits {
- Exclude checks
Unexpected string concatenation of literals. Open
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>']);
- Read upRead up
- Exclude checks
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
Open
.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.source_table pre .hits {
- Exclude checks
Values of 0 shouldn't have units specified. Open
Open
.cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}
- Exclude checks
Heading (h4) has already been defined. Open
Open
.source_table h3, .source_table h4 {
- Exclude checks
Values of 0 shouldn't have units specified. Open
Open
margin: 0px;
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.source_table pre li {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.source_table pre {
- Exclude checks