Does JSLint have anything like JavaScript Lint's control comments (e.g. /*jsl:fallthru*/) to make it ignore certain passages?...
The following JS:  (function() {   "use strict";    $("#target").click(function(){     console.log("clicked");   });  }());   Yields:  test.js: line 5, col 3, '$' is not defined.   When linted using JSHint 0.5.5.  Any...
I'd like to use JSLint, but I am wary of tools that have access to my unfiltered source code. Is there an offline version or is there another similar tool that does "lint error checking" for JavaScript offline?  Edit: One with a GUI and t...
I am new to ESLint, and I have successfully integrated ESLint with IntelliJ.  Out of the box, my integration of ESLint did not recognize node, but basic review of documentation made clear that by creating the configuration file named .eslintrc at the...
I have a Javascript browser project split over multiple files and can't get ESLint to lint the script tags of my HTML file under the same global scope so that declarations and calls of classes and functions in one file are recognised in another....
I am trying to get babel-eslint to work on Sublime 3. I have installed:   eslint and babel-eslint globally on npm  SublimeLinter package on Sublime SublimeLinter-contrib-eslint package on Sublime   Also, I have added:  "syntax_map": { ... ...
The ESLint rule for indent allows for you to specify which nodes are ignored, when determining whether the rule should apply to that node, using the ignoredNodes option.  I've got the following code that I want to ignore with this rule:  const a...
I'm working in a project with several javascript files and part of what I'm doing right now is both migrating existing code to use newer ES6+ features as well as making sure we're abiding by the AirBnB Eslint Rules.  So, given that contex...
I'm using the following typescript method to generate UUIDs. The code itself is basically the typescript version of this stackoverflow answer.  generateUUID(): string {     let date = new Date().getTime();     if (window.performance && ty...
I'm using ESLint on all my files, including the test files, with a no-unused-var: true rule. I'm using Should.js in my Mocha tests, and in one of the files, I'm getting an error on the should variable. A quick comparison to the other test...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.