Lint, or a linter, is a static code analysis tool used to flag programming errors, bugs, stylistic errors and suspicious constructs. The term originates from a Unix utility that examined C language source code.
See lint on wikipedia: lint was the name originally given to a particular program that flagged some suspicious and non-portable constructs (likely to be bugs) in C language source code. The term is now applied generically to tools that flag suspicious usage in software written in any computer language.
According to Wikipedia, linter. is a tool that analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs.
A Linter is an automated tool that runs on static code to find formatting discrepancies, non-adherence to coding standards and conventions, and find logical errors in your program.
I'm working on organizing some things and wanted to combined these two sets. In fact I don't know of any other validator besides the W3 - http://validator.w3.org/
Linters - jslint | jshint | eslint
Validators - w3
Is there any difference between these 2 types of tools. Both just look at the code statically and test it against a set syntax correct ?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With