JSLint - The JavaScript Code Quality Tool

  •        0

JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool. JSLint takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem and an approximate location within the source. The problem is not necessarily a syntax error, although it often is. JSLint looks at some style conventions as well as structural problems. It does not prove that your program is correct.

JavaScript is a young-for-its-age language. It was originally intended to do small tasks in webpages, tasks for which Java was too heavy and clumsy. But JavaScript is a very capable language, and it is now being used in larger projects. Many of the features that were intended to make the language easy to use are troublesome for larger projects. A lint for JavaScript is needed: JSLint, a JavaScript syntax checker and validator.

The source is available in location http://www.jslint.com/lint.html

http://www.jslint.com/

Tags
Implementation
License
Platform

   




Related Projects

Flow - A static type checker for JavaScript


Adds static typing to JavaScript to improve developer productivity and code quality.

JSHint - A Static Code Analysis Tool for JavaScript


JSHint is a community-driven tool to detect errors in JavaScript code and enforce your team's coding conventions.

js-code-analyzer - Static JS-code analysis using JSLint and Esprima.


Static JS-code analysis using JSLint and Esprima.

Checkstyle - Checks Java coding standard


Checkstyle is a tool to help programmers write Java code that adheres to a coding standard. Checkstyle is highly configurable and can be made to support almost any coding standard. Checkstyle provides checks that find class design problems, duplicate code, or bug patterns like double checked locking. This tool could be integrated as Ant task.

FindBugs - Static Analysis Tool for Java


FindBugs uses static analysis to look for bugs in Java code. it can analyze programs compiled for any version of Java. Eclipse and Maven plugins are available. FindBugs has been downloaded more than 700,000 times.

gradle-jslint-plugin


A Gradle custom Plugin that allows running JSLint static analysis against JavaScipt code. A blog article accompanies this source code to explain its intent and implementation.

CodeNarc - Static Analysis for Groovy


CodeNarc analyzes Groovy code for defects, bad practices, inconsistencies, style issues, coding standards, best practices and more. CodeNarc triggers violations based on rules which are predefined or custom rules. The static analysis report is generated in XML or HTML format. It is well integrated with the Ant Task and plugins exist for Maven, Gradle, Grails, Griffon, Sonar and Hudson.

jslint-core - JSLint: The JavaScript Code Quality Tool packaged as a CommonJS module


JSLint: The JavaScript Code Quality Tool packaged as a CommonJS module

jslint-node-edition - JSLint JavaScript code quality tool ported to Node.js from Rhino


JSLint JavaScript code quality tool ported to Node.js from Rhino

JLint - static analysis for Java


Jlint will check your Java code and find bugs, inconsistencies and synchronization problems by doing data flow analysis and building the lock graph. Jlint is extremely fast. It is easy to learn and requires no changes to the class files. Jlint has been used in an industrial environment and successfully uncovered faults with little effort.

AccCheckerExtensionForVS - Detect and resolve common accessibility issues before you ship your code with a free Visual Studio extension


The Tenon HTML Accessibility Checker makes it easier for Visual Studio developers to detect and resolve common accessibility issues with their HTML-based user interfaces. It takes more than static code analysis to create great experiences for people with permanent or situational disabilities. However, there is no reason to ship code with accessibility issues that can be detected automatically. This checker is one of many tools designed to help developers ship better code.We published this source under an MIT liscense so that you can leverage any of these patterns.

Stylecop


StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project.

JSLint.NET


JSLint.NET is a wrapper for Douglas Crockford's JSLint, the JavaScript code quality tool. It can validate JavaScript anywhere .NET runs.

PMD - Scans Java source code


PMD scans Java source code and looks for potential bugs,Unused local variables, Dead code, wasteful String/StringBuffer usage, Unnecessary if statements, for loops that could be while loops and Duplicate code.

PSScriptAnalyzer - Download ScriptAnalyzer from PowerShellGallery


PSScriptAnalyzer is a static code checker for Windows PowerShell modules and scripts. PSScriptAnalyzer checks the quality of Windows PowerShell code by running a set of rules. The rules are based on PowerShell best practices identified by PowerShell Team and the community. It generates DiagnosticResults (errors and warnings) to inform users about potential code defects and suggests possible solutions for improvements.

quality_agent - A set of tools for code quality analysis, mostly focused on Web code.


A set of tools for code quality analysis, mostly focused on Web code.