Showing 138 of 138 total issues
Function create
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
create : function() {
if (this.initialContent)
this.set("value", this.initialContent);
if (this.get("trim") !== false)
this.set("value", Strings.nltrim(this.get("value")));
Function exports
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
var pkg = grunt.file.readJSON('package.json');
var gruntHelper = require('betajs-compile');
var dist = 'betajs-codemirror';
Color literals like #b9f
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
- Exclude checks
Selector CodeMirror-focused
should be written in lowercase with hyphens Open
Open
.CodeMirror-focused .cm-matchhighlight {
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
color: #555;
- Exclude checks
Selector CodeMirror-gutters
should be written in lowercase with hyphens Open
Open
.cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }
- Exclude checks
Color #A7A7A7
should be written as #a7a7a7
Open
Open
.cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7; }
- Exclude checks
Color literals like #D8FA3C
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
.cm-s-blackboard .cm-meta { color: #D8FA3C; }
- Exclude checks
Color #8DA6CE
should be written as #8da6ce
Open
Open
.cm-s-blackboard .cm-attribute { color: #8DA6CE; }
- Exclude checks
Color #8DA6CE
should be written as #8da6ce
Open
Open
.cm-s-blackboard .cm-link { color: #8DA6CE; }
- Exclude checks
Color literals like #9D1E15
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
.cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }
- Exclude checks
Colon after property should be followed by one space Open
Open
.cm-s-blackboard .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; }
- Exclude checks
Color white
should be written in hexadecimal form as #ffffff
Open
Open
.cm-s-blackboard .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; }
- Exclude checks
Line should be indented with spaces, not tabs Open
Open
color: blue;
- Exclude checks
Color literals like #b9f
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
- Exclude checks
Color literals like #b9f
should only be used in variable declarations; they should be referred to via variable everywhere else. Open
Open
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
- Exclude checks
Selector CodeMirror
should be written in lowercase with hyphens Open
Open
.cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }
- Exclude checks
Selector CodeMirror-line
should be written in lowercase with hyphens Open
Open
.cm-s-blackboard .CodeMirror-line::-moz-selection, .cm-s-blackboard .CodeMirror-line > span::-moz-selection, .cm-s-blackboard .CodeMirror-line > span > span::-moz-selection { background: rgba(37, 59, 118, .99); }
- Exclude checks
Avoid vendor prefixes. Open
Open
.cm-s-blackboard .CodeMirror-line::-moz-selection, .cm-s-blackboard .CodeMirror-line > span::-moz-selection, .cm-s-blackboard .CodeMirror-line > span > span::-moz-selection { background: rgba(37, 59, 118, .99); }
- Exclude checks
Selector CodeMirror-guttermarker
should be written in lowercase with hyphens Open
Open
.cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; }
- Exclude checks