Since 2021, JSLint uses the FSF / OSI approved Unlicense license.
Before that, the JSLint license[4] was a derivative of the MIT License.[5] The sole modification was the addition of the line "The Software shall be used for Good, not Evil."
According to the Free Software Foundation, this previous clause made the original license non-free.[6] It had also prevented JSLint-related software from being hosted on Google Code[5] and from being included in the Debianfree software package repositories.[7] Because of this restriction, according to Crockford, IBM asked Crockford in 2011 for a license to do evil, such that their customers could use it.[8][9][10]
Influence
JSLint is considered by some to be the first JavaScript syntax checker.[11][12] It has since inspired various other tools.
In 2011, Anton Kovalyov created a fork, called JSHint.[13][14][15] The main motivation behind the creation of JSHint was to provide a "less opinionated" and "more configurable" way for developers to analyse code.[16][17][18]
In 2013, Nicholas C. Zakas created ESLint.[12] Both JSLint and JSHint lacked the ability to create additional rules for code quality and coding style. After contributing to JSHint, Zakas decided to create a new linting tool, ESLint, where all rules are configurable, and additional rules can be defined or loaded at run-time.[19] ESLint also supports linting the latest versions of JavaScript, aka ECMAScript 2015 and above.
In 2013, Palantir Technologies created TSLint,[20] which was the TypeScript equivalent for ESLint.[21] In 2019 TSLint was deprecated in favor of ESLint with a TypeScript integration.[22]
In 2014, Marat Dulin created JSCS.[23] In 2016, the JSCS Team joined the ESLint project and has since discontinued maintenance of the JSCS tool.[24][25][26]
In 2015, a comparison published by SitePoint, recommended ESLint above JSLint, JSHint and JSCS.[27] In 2016, CodeKit also praised ESLint for "finding more issues", being "far more configurable", and being "the industry standard" for JavaScript syntax checkers.[11]
^"IBM and its minions ..."Hasen Judy. 2011-02-13. Archived from the original on 2013-02-03. Retrieved 2018-02-26. I give permission for IBM, its customers, partners, and minions, to use JSLint for evil.
^"Douglas Crockford: The JSON Saga". YouTube. 2011-08-11. Archived from the original on 2021-12-15. Retrieved 2018-02-25. I give permission for IBM, its customers, partners, and minions, to use JSLint for evil.
^ ab"Help: JSLint". codekitapp.com. 2016-12-10. Archived from the original on 2018-02-26. Retrieved 2018-02-25. JSLint is the original JavaScript syntax checker.
^ abZakas, Nicholas C. (16 July 2013). "Introducing ESLint". nczonline.net. Archived from the original on 2018-02-26. Retrieved 2018-02-26. JSLint was the state of the art in JavaScript linting technology
^"Why I forked JSLint to JSHint". anton.kovalyov.net. Anton Kovalyov. 2011-02-20. Archived from the original on 2011-02-24. Retrieved 2018-02-26. [JSLint] has gotten uncomfortably opinionated
^"JSHint: A Community Driven Fork of JSLint". badassjs.com. Devon Govett. 18 February 2011. Archived from the original on 21 February 2011. Retrieved 2011-02-21. [..] JSLint was getting a bit too opinionated [..]
^"Help: JSHint". codekitapp.com. 2018-02-26. Retrieved 2018-02-26. designed to be less opinionated and more configurable