ESLint: Difference between revisions
→Adoption: new section |
No edit summary |
||
Line 24: | Line 24: | ||
== History == |
== History == |
||
Both JSLint and JSHint were lacking the ability to create additional rules for [[Coding conventions|code quality]] and [[Programming style|coding style]].<ref name=":1" /> 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 (program lifecycle phase)|run-time]].<ref>{{Cite news|url=http://blog.rangle.io/understanding-the-real-advantages-of-using-eslint/|title=Understanding the Real Advantages of Using ESLint|date=2015-03-26|work=Rangle.io Blog|access-date=2018-02-26}}</ref> |
Both JSLint and JSHint were lacking the ability to create additional rules for [[Coding conventions|code quality]] and [[Programming style|coding style]].<ref name=":1" /> 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 (program lifecycle phase)|run-time]].<ref>{{Cite news|url=http://blog.rangle.io/understanding-the-real-advantages-of-using-eslint/|title=Understanding the Real Advantages of Using ESLint|date=2015-03-26|work=Rangle.io Blog|access-date=2018-02-26}}</ref> |
||
In April 2016, the ESLint project joined the [[jQuery Foundation]]<ref>{{Cite web|url=https://eslint.org/blog/2016/04/eslint-joins-the-jquery-foundation|title=ESLint Joins The jQuery Foundation|last=Zakas|first=Nicholas|date=19 April 2016|website=eslint.org|language=en|archive-url=|archive-date=|dead-url=|access-date=2019-07-05}}</ref>. Later that year, jQuery Foundation merged with Dojo Foundation to become [[JS Foundation]] as Linux Foundation project.<ref>{{Cite web|url=https://blog.jquery.com/2015/09/01/jquery-foundation-and-dojo-foundation-to-merge/|title=jQuery Foundation and Dojo Foundation to Merge|date=1 September 2015|website=Official jQuery Blog|language=en-US|archive-url=|archive-date=|dead-url=|access-date=2018-07-02}}</ref><ref>{{Cite news|url=http://www.prweb.com/releases/2015/08/prweb12931885.htm|title=jQuery Foundation and Dojo Foundation to Merge|last=|first=|date=1 July 2015|work=PRWeb|access-date=2018-07-02}}</ref><ref>{{Cite news|url=https://www.sitepen.com/blog/2016/10/17/announcing-the-js-foundation/|title=Announcing the JS Foundation!|date=2016-10-17|work=SitePen|access-date=2018-07-02|language=en-US}}</ref> |
|||
In October 2017, the ESLint project became a "Graduate Project" of the JS Foundation through its mentorship program.<ref>{{Cite news|url=https://js.foundation/announcements/2017/10/05/eslint-graduates-from-js-foundation-mentorship-program|title=ESLint Graduates from JS Foundation Mentorship Program|last=|first=|date=2017-10-05|work=JS Foundation Blog|access-date=2019-07-05|language=en-US}}</ref> |
|||
As of March 2019, ESLint is part of the [[OpenJS Foundation]], following a merge between the JS Foundation and Node.js Foundation.<ref name="verge-openjsfoundation">{{cite news|url=https://venturebeat.com/2019/03/12/node-js-and-js-foundations-are-merging-to-form-openjs/|title=Node.js and JS foundations are merging to form OpenJS|last=Singh|first=Manish|date=2019-03-12|work=[[VentureBeat]]|accessdate=2019-03-21}}</ref><ref>{{Cite news|url=https://js.foundation/announcements/2018/10/04/the-node-js-foundation-and-js-foundation-announce-an-intent-to-merge-a-message-from-the-boards-and-a-faq-around-the-announcement|title=The Node.js Foundation and JS Foundation Announce an Intent to Merge|last=|first=|date=2018-10-04|work=JS Foundation Blog|access-date=2019-07-05|language=en-US|quote=How will this impact the technical direction of … ESLint This will not change the technical independence for projects like ESLint.}}</ref> |
|||
== Adoption == |
== Adoption == |
Revision as of 19:53, 5 July 2019
It is proposed that this article be deleted because of the following concern:
If you can address this concern by improving, copyediting, sourcing, renaming, or merging the page, please edit this page and do so. You may remove this message if you improve the article or otherwise object to deletion for any reason. Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, do not replace it. This message has remained in place for seven days, so the article may be deleted without further notice. Find sources: "ESLint" – news · newspapers · books · scholar · JSTOR Timestamp: 20190705183030 18:30, 5 July 2019 (UTC) Administrators: delete |
Original author(s) | Nicholas C. Zakas |
---|---|
Developer(s) | Nicholas C. Zakas |
Initial release | 2013 |
Stable release | 6.0.1
/ June 15, 2019 |
Repository | |
Written in | JavaScript |
Operating system | Cross-platform |
Available in | English |
Type | Static code analysis |
License | MIT License |
Website | eslint |
ESLint is a static code analysis tool for identifying problematic patterns found in JavaScript code. It is created by Nicholas C. Zakas in 2013. [1][2] Rules in ESLint are configurable, and customized rules can be defined and loaded. ESLint covers both code quality and coding style issues. ESLint supports current standards of ECMAScript, and experimental syntax from drafts for future standards. Code using JSX or TypeScript can also be processed when a plugin or transpiler is used.[3]
History
Both JSLint and JSHint were lacking the ability to create additional rules for code quality and coding style.[2] 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.[4]
In April 2016, the ESLint project joined the jQuery Foundation[5]. Later that year, jQuery Foundation merged with Dojo Foundation to become JS Foundation as Linux Foundation project.[6][7][8]
In October 2017, the ESLint project became a "Graduate Project" of the JS Foundation through its mentorship program.[9]
As of March 2019, ESLint is part of the OpenJS Foundation, following a merge between the JS Foundation and Node.js Foundation.[10][11]
Adoption
Since 2015, JetBrains provides integrated support for ESLint in their WebStorm code editor, which runs the ESLint software as configured for the current text file, and displays any warnings near the offending lines of code in the editor.[12][13][14]
Since 2016, the Vue.js project provides an ESLint plugin to automatically validate use of Vue.js templates and other features.[15][16][17] Since 2018 this plugin is also promoted in the wizard for creating new Vue.js projects.[18]
In October 2018, the React project (developed by Facebook) published an official ESLint plugin to help enforce their coding rules.[19][20]
See also
References
- ^ "First commit - eslint/eslint". GitHub. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ a b Zakas, Nicholas C. (16 July 2013). "Introducing ESLint". nczonline.net. Retrieved 2018-02-26.
JSLint was the state of the art in JavaScript linting technology
- ^ "How to setup ESLint for Typescript code". Wisdom Geek. Kataria, Saransh.
- ^ "Understanding the Real Advantages of Using ESLint". Rangle.io Blog. 2015-03-26. Retrieved 2018-02-26.
- ^ Zakas, Nicholas (19 April 2016). "ESLint Joins The jQuery Foundation". eslint.org. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "jQuery Foundation and Dojo Foundation to Merge". Official jQuery Blog. 1 September 2015. Retrieved 2018-07-02.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "jQuery Foundation and Dojo Foundation to Merge". PRWeb. 1 July 2015. Retrieved 2018-07-02.
- ^ "Announcing the JS Foundation!". SitePen. 2016-10-17. Retrieved 2018-07-02.
- ^ "ESLint Graduates from JS Foundation Mentorship Program". JS Foundation Blog. 2017-10-05. Retrieved 2019-07-05.
- ^ Singh, Manish (2019-03-12). "Node.js and JS foundations are merging to form OpenJS". VentureBeat. Retrieved 2019-03-21.
- ^ "The Node.js Foundation and JS Foundation Announce an Intent to Merge". JS Foundation Blog. 2018-10-04. Retrieved 2019-07-05.
How will this impact the technical direction of … ESLint This will not change the technical independence for projects like ESLint.
- ^ "WebStorm Linting, refactoring and compiling". WebStorm Blog. JetBrains. 30 December 2015. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "Using JavaScript Standard Style". WebStorm Blog. JetBrains. 7 April 2017. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "ESLint - WebStorm Manual". JetBrains. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "Writing Vue.js Applications in TypeScript". Telstra Kloud. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "Lesson: Automatic Linting with ESLint - The Vue.js Master Class". Vue School. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "Introduction | eslint-plugin-vue". eslint.vuejs.org. Retrieved 2019-07-05.
- ^ "The Vue Handbook: a thorough introduction to Vue.js". Developer News. 2018-07-05. Retrieved 2019-07-05.
Use the interactive CLI to create a new Vue project [..] By default, there is [..] ESLint integration
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ "ESLint Plugin – Rules of Hooks – React Manual". reactjs.org. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help) - ^ Markbåge, Sebastian (25 October 2018). "Implement the Hooks proposal · facebook/react". GitHub. Retrieved 2019-07-05.
{{cite web}}
: Cite has empty unknown parameter:|dead-url=
(help)