Filter by:
File Violation Severity
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
14
  var SPACE_CHAR_REGEX = /\s/;
15
 
16
  var Pos = CodeMirror.Pos;
17
 
18
  CodeMirror.defineOption("autoCloseBrackets", false, function(cm, val, old) {
19
    if (old != CodeMirror.Init && old)
20
      cm.removeKeyMap("autoCloseBrackets");
21
    if (!val) return;
22
    var pairs = DEFAULT_BRACKETS, explode = DEFAULT_EXPLODE_ON_ENTER;
23
    if (typeof val == "string") pairs = val;
24
    else if (typeof val == "object") {
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'else'
Notice
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/riot.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/unobservable.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice
libs/codemirror/addon/edit/closebrackets.js curly   (kritika/ESLint)
Expected { after 'if' condition
Notice