forked from freeCodeCamp/wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request freeCodeCamp#1054 from tanham21/linters
Linters
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Code Linting in JavaScript | ||
|
||
Linting is the process of running a program that analyzes your code for programmatic and stylistic errors. A linting tool, or a linter, marks or flags any potential errors in your code such as syntax errors or incorrectly spelled variable names. This can save time and help you write better code. | ||
|
||
Linters can be installed using `npm` or another package manager. Linters can be used from the command line by passing in files. Linters are also available as plugins for tools and sometimes they are directly integrated into editors. | ||
|
||
Here are some popular Javascript Linters: | ||
* [JSLint](http://www.javascriptlint.com/online_lint.php) | ||
* [JSHint](http://jshint.com/) | ||
* [JSCS](http://jscs.info/) | ||
* [ESLint](http://eslint.org/) |