Showing 101 of 101 total issues
Rule doesn't have all its properties in alphabetical order. Open
.CodeMirror-gutter-wrapper {
- Create a ticketCreate a ticket
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
.CodeMirror-wrap pre {
- Create a ticketCreate a ticket
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
#code-options {
- Create a ticketCreate a ticket
- Exclude checks
The property -ms-user-select is compatible with -webkit-user-select and -moz-user-select and should be included as well. Open
-webkit-user-select: none;
- Create a ticketCreate a ticket
- Exclude checks
Adjoining classes: .size-control.smaller Open
.size-control.smaller, #create-gist {
- Create a ticketCreate a ticket
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
.CodeMirror-linewidget {
- Create a ticketCreate a ticket
- Exclude checks
Property with star prefix found. Open
.CodeMirror span { *vertical-align: text-bottom; }
- Create a ticketCreate a ticket
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
#remote-media {
- Create a ticketCreate a ticket
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
.CodeMirror {
- Create a ticketCreate a ticket
- Exclude checks
Duplicate property '*display' found. Open
*display:inline;
- Create a ticketCreate a ticket
- Exclude checks
Do not use 'new' for side effects. Open
new bsn.Button(document.querySelector('#connect-dropdown'), 'loading');
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
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/
Rule doesn't have all its properties in alphabetical order. Open
.cm-animate-fat-cursor {
- Create a ticketCreate a ticket
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
.CodeMirror-linebackground {
- Create a ticketCreate a ticket
- Exclude checks
Outlines should only be modified using :focus. Open
.CodeMirror-code {
- Create a ticketCreate a ticket
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
#local-media video, #remote-media video {
- Create a ticketCreate a ticket
- Exclude checks
Do not use 'new' for side effects. Open
new bsn.Popover(createGistButton, {trigger: 'click'}); //handle 'create' not implemented yet
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
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/
Fallback background (hex or RGB) should precede RGBA background. Open
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
- Create a ticketCreate a ticket
- Exclude checks