title: I'm getting "error: eslint terminated with error. [object Object] using Brackets IDE
body: <p>I've downlaoded the Brackets IDE and I'm trying ti out. I loaded a .js file and cleaned it up but I'm getting an error message from ESLint:</p>
  
  <blockquote>
    <p>ESLint terminated with error. [object Object]</p>
  </blockquote>
  
  <p>Here's the JavaScript code in qustion</p>
  
  <pre><code>/*jslint browser: false */
  /*eslint browser: true */
  /*
  CLCP v2.1 Clear Links to Current Page
  Jonathan Snook
  This code is offered unto the public domain
  http://www.snook.ca/jonathan/
  */
  
  /* Modified, June 24, 2011 to add capability to change all or only the first link found,
  by Bob Novell http://www.bobnovell.com
  */
  
  function clearCurrentLink(changeAll) {
       "use strict";
       var a, i;
       a = document.getElementsByTagName("A");
       for (i = 0; i &lt; a.length; i = i + 1) {
            if (a[i].href === window.location.href.split("#")[0]) {     // code ignores references to named anchors on the same page
                 a[i].innerHTML = "&lt;span class='currentlpage'&gt;" + a[i].innerHTML + "&lt;/span&gt;";
                 removeNode(a[i]);
                 if (changeAll === undefined) {  // if nothing is passed for changeAll, we only do one reset - in the navagation list - this is in case pages contain
                      return;                    // If you are unsure what to code for changeAll, specify true if you want all links changed and don't code anything
                 }                              // if you want only the first link found changed - like if you only want to change the link in a navigation table.
            }
       }
  }
  
  function removeNode(n) {
       "use strict";
       var i;
       if (n.hasChildNodes()) {
            for (i = 0; i &lt; n.childNodes.length; i = i + 1) {
                 n.parentNode.insertBefore(n.childNodes[i].cloneNode(true), n);
            }
       }
       n.parentNode.removeChild(n);
  }
  </code></pre>
  
  <p>Does anyone know what the message means and why it is occuring?</p>