ESLint

O ESLint é um linter, uma ferramenta de análise estática, para as linguagens Javascript e Typescript,[1] sendo o mais popular do mundo para tais linguagens.[2] criado por Nicholas C. Zakas em 2013.[3][4] As regras do ESLint são customizáveis, cobrindo tanto problemas de qualidade de software como de estilo.[1][5]

História

Em 2016, o ESLint foi incorporado à jQuery Foundation,[6] e no mesmo ano a jQuery Foundation se juntou com a Dojo Foundation para virar a JS Foundation, sendo um projeto da Linux Foundation[7][8][9] Em outubro de 2017, o ESLint se tornou um "projeto graduado" da JS Foundation.[10] Em março de 2019, se tornou parte da OpenJS Foundation, após a fusão da JS Foundation com a Node.js Foundation.[11][12]

Adoção

A IDE WebStorm, da JetBrains, possui suporte integrado ao ESLint.[13][14][15]

Desde 2016, o projeto Vue.js providencia plugins para o ESLint.[16][17][18] Desde 2018, esses plugins também são promovidos no wizard de criação de projetos Vue.js.[19]

Em outubro de 2018, a biblioteca React (desenvolvida pelo Facebook) publicou oficialmente um plugin para ESLint.[20][21]

Em 2021, ESLint é o linter mais popular do mundo para Javascript, com 14 milhões de downloads semanais.[2]

Referências

  1. a b «The future of TypeScript on ESLint». ESLint - Pluggable JavaScript linter (em inglês). Consultado em 24 de abril de 2020 
  2. a b «jslint vs jshint vs eslint vs tslint vs @typescript eslint/eslint plugin». www.npmtrends.com (em inglês). Consultado em 26 de janeiro de 2021 
  3. «First commit - eslint/eslint». GitHub (em inglês). Consultado em 5 de julho de 2019 
  4. Zakas, Nicholas C. (16 de julho de 2013). «Introducing ESLint». nczonline.net (em inglês). Consultado em 26 de fevereiro de 2018. JSLint was the state of the art in JavaScript linting technology 
  5. «Accessibility auditing with eslint-plugin-jsx-a11y». web.dev (em inglês). Google Developers. 29 de abril de 2019. Consultado em 24 de abril de 2020. The [ELint plugin] can help pinpoint [issues] in your JSX. 
  6. Zakas, Nicholas (19 de abril de 2016). «ESLint Joins The jQuery Foundation». eslint.org (em inglês). Consultado em 5 de julho de 2019 
  7. «jQuery Foundation and Dojo Foundation to Merge». Official jQuery Blog (em inglês). 1 de setembro de 2015. Consultado em 2 de julho de 2018 
  8. «jQuery Foundation and Dojo Foundation to Merge». PRWeb. 1 de julho de 2015. Consultado em 2 de julho de 2018 
  9. «Announcing the JS Foundation!». SitePen (em inglês). 17 de outubro de 2016. Consultado em 2 de julho de 2018 
  10. «ESLint Graduates from JS Foundation Mentorship Program». JS Foundation Blog (em inglês). 5 de outubro de 2017. Consultado em 5 de julho de 2019 
  11. Singh, Manish (12 de março de 2019). «Node.js and JS foundations are merging to form OpenJS». VentureBeat. Consultado em 21 de março de 2019 
  12. «The Node.js Foundation and JS Foundation Announce an Intent to Merge». JS Foundation Blog (em inglês). 4 de outubro de 2018. Consultado em 5 de julho de 2019. How will this impact the technical direction of … ESLint This will not change the technical independence for projects like ESLint. 
  13. «WebStorm Linting, refactoring and compiling». WebStorm Blog (em inglês). JetBrains. 30 de dezembro de 2015. Consultado em 5 de julho de 2019 
  14. «Using JavaScript Standard Style». WebStorm Blog (em inglês). JetBrains. 7 de abril de 2017. Consultado em 5 de julho de 2019 
  15. «ESLint - WebStorm Manual». JetBrains. Consultado em 5 de julho de 2019 
  16. «Writing Vue.js Applications in TypeScript». Telstra Kloud. Consultado em 5 de julho de 2019 
  17. «Lesson: Automatic Linting with ESLint - The Vue.js Master Class». Vue School (em inglês). Consultado em 5 de julho de 2019 
  18. «Introduction | eslint-plugin-vue». eslint.vuejs.org. Consultado em 5 de julho de 2019 
  19. «The Vue Handbook: a thorough introduction to Vue.js». Developer News (em inglês). 5 de julho de 2018. Consultado em 5 de julho de 2019. Use the interactive CLI to create a new Vue project [..] By default, there is [..] ESLint integration 
  20. «ESLint Plugin – Rules of Hooks – React Manual». reactjs.org (em inglês). Consultado em 5 de julho de 2019 
  21. Markbåge, Sebastian (25 de outubro de 2018). «Implement the Hooks proposal · facebook/react». GitHub (em inglês). Consultado em 5 de julho de 2019 

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.