-
Notifications
You must be signed in to change notification settings - Fork 463
JSLINT
Freddie Page edited this page Feb 4, 2020
·
20 revisions
jslint is a JavaScript function that implements the JSLint code quality tool. The jslint function is itself independent of the browser or any other platform, so it can be run in any JavaScript environment without modification. All that is required is to provide some plumbing to get source and options to jslint, and to do something interesting with its products.
These are some of the uses that are possible:
- JSLint in a web page
- JSLint integration is available for a variety of editors and IDEs:
- Atom package by tcarlsen: https://github.com/tcarlsen/atom-jslint
- VS Code package by Andrew Hyndman: https://marketplace.visualstudio.com/items?itemName=ajhyndman.jslint
- JSLint on the command line:
- via Grunt (e.g. https://npmjs.org/package/grunt-jslint)
- node-jslint
- JSLint Reporter (using Node.js)
- JSLint Utils (using Node.js or Rhino)
- jslint4java (based on Rhino, also integrates with Ant and Maven)
- JSLint.NET (using V8 for .NET, also integrates with MSBuild and Visual Studio)
- jslint-sbt-plugin (provides an sbt plugin for high performance native-browser-based and in-jvm linting)