Skip to content
SPECIFICTION
Get listed

JSHint vs yamllint

JSHint

jshint.com

yamllint

yamllint.readthedocs.io

Side by side

FigureJSHintyamllint
Price fromFreeFree
Free planYesYes
Free trial——
Open sourceYes—
WebYes—
WindowsYes—
macOSYesYes
LinuxYesYes
APIYes—
Self-hostedYes—
Plans published11
Spec score · Linters8.7 (#3)6.9 (#31)
ConfigurationProjects can configure JSHint with a .jshintrc file, package.json jshintConfig or the CLI --config option.It includes default and relaxed configurations and supports custom configuration files.
Editor integrationsThe project lists integrations for Vim, Emacs, Sublime Text, Atom, TextMate, Visual Studio, VS Code, Brackets, Eclipse, NetBeans, JetBrains, Notepad++ and Gedit.The documentation lists Vim, Neovim, Emacs, Visual Studio Code, and IntelliJ integrations.
LicenseJSHint is licensed under the MIT Expat license.The GitHub repository identifies the project license as GPL-3.0.
PurposeJSHint is a community-driven static analysis tool that detects errors and potential problems in JavaScript code.yamllint checks YAML syntax and issues such as duplicate keys, line length, trailing spaces, and indentation.

Plans

JSHint

  • JSHintFree

JSHint pricing →

yamllint

  • yamllintFree

yamllint pricing →

In their own words

JSHint

JSHint is a free, open-source static analysis tool for JavaScript. It checks code for syntax errors and potential problems such as implicit type conversion issues and leaking variables. The project aims to help JavaScript developers avoid typos and language gotchas while working on complex programs. JSHint is distributed as a Node module with a library and command-line program, and it can also be used through a JavaScript API. Configuration can come from command-line options, a .jshintrc file, package.json, or inline source directives. Standalone files are available for browser-like environments and Mozilla Rhino, with releases published to npm for Node.js. The install page lists integrations for editors and IDEs including Vim, Emacs, Sublime Text, Visual Studio, VS Code, Eclipse, and JetBrains IDEs, plus build integrations such as Grunt, Ant, Maven, pre-commit, and QUnit. JSHint is licensed under the MIT Expat license. Its documentation cautions that static analysis cannot determine whether a program is correct or fast, or whether it has memory leaks, and recommends using it alongside unit and functional tests and code reviews.

Visit jshint.com

yamllint

yamllint has no write-up on Specifiction yet; its figures are above.

Visit yamllint.readthedocs.io