betajs/betajs-codemirror

View on GitHub

Showing 138 of 138 total issues

Function create has 75 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            create : function() {
                if (this.initialContent)
                    this.set("value", this.initialContent);
                if (this.get("trim") !== false)
                    this.set("value", Strings.nltrim(this.get("value")));
Severity: Major
Found in src/dynamic.js - About 3 hrs to fix

    Function exports has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = function(grunt) {
    
        var pkg = grunt.file.readJSON('package.json');
        var gruntHelper = require('betajs-compile');
        var dist = 'betajs-codemirror';
    Severity: Minor
    Found in Gruntfile.js - About 1 hr to fix

      Color literals like #b9f should only be used in variable declarations; they should be referred to via variable everywhere else.
      Open

          text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
      Severity: Minor
      Found in src/styles.css by scss-lint

      Selector CodeMirror-focused should be written in lowercase with hyphens
      Open

      .CodeMirror-focused .cm-matchhighlight {
      Severity: Minor
      Found in src/styles.css by scss-lint

      Line should be indented with spaces, not tabs
      Open

          color: #555;
      Severity: Minor
      Found in src/styles.css by scss-lint

      Selector CodeMirror-gutters should be written in lowercase with hyphens
      Open

      .cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Color #A7A7A7 should be written as #a7a7a7
      Open

      .cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Color literals like #D8FA3C should only be used in variable declarations; they should be referred to via variable everywhere else.
      Open

      .cm-s-blackboard .cm-meta { color: #D8FA3C; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Color #8DA6CE should be written as #8da6ce
      Open

      .cm-s-blackboard .cm-attribute { color: #8DA6CE; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Color #8DA6CE should be written as #8da6ce
      Open

      .cm-s-blackboard .cm-link { color: #8DA6CE; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Color literals like #9D1E15 should only be used in variable declarations; they should be referred to via variable everywhere else.
      Open

      .cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Colon after property should be followed by one space
      Open

      .cm-s-blackboard .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Color white should be written in hexadecimal form as #ffffff
      Open

      .cm-s-blackboard .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Line should be indented with spaces, not tabs
      Open

          color: blue;
      Severity: Minor
      Found in src/styles.css by scss-lint

      Color literals like #b9f should only be used in variable declarations; they should be referred to via variable everywhere else.
      Open

          text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
      Severity: Minor
      Found in src/styles.css by scss-lint

      Color literals like #b9f should only be used in variable declarations; they should be referred to via variable everywhere else.
      Open

          text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
      Severity: Minor
      Found in src/styles.css by scss-lint

      Selector CodeMirror should be written in lowercase with hyphens
      Open

      .cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Selector CodeMirror-line should be written in lowercase with hyphens
      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); }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Avoid vendor prefixes.
      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); }
      Severity: Minor
      Found in src/styles.css by scss-lint

      Selector CodeMirror-guttermarker should be written in lowercase with hyphens
      Open

      .cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; }
      Severity: Minor
      Found in src/styles.css by scss-lint
      Severity
      Category
      Status
      Source
      Language