ESLint

ESLint
ESLint
ESLint logo.svg
원저작자니콜라스 C. 자카스
개발자니콜라스 C. 자카스
초기 릴리즈2013년 6월 30일, 9년 전(2013-06-30)
안정된 릴리스
7.25.0 / 2021년 4월 23일; 15개월 전(2021-04-23)
저장소
기입처자바스크립트
운영 체제크로스 플랫폼
이용가능기간:영어
유형정적 코드 분석
면허증.MIT 라이선스
웹 사이트eslint.org

ESLint는 JavaScript 코드에서 발견된 문제 패턴을 식별하기 위한 정적 코드 분석 도구입니다.그것은 [1][2]2013년에 니콜라스 C. Zakas에 의해 만들어졌다.ESLint의 규칙은 설정 가능하며 맞춤형 규칙을 정의하고 로드할 수 있습니다.ESLint는 코드 품질과 코딩 스타일의 문제를 모두 다룹니다.ESLint는 ECMAScript의 현재 표준과 미래의 표준을 위한 초안으로부터 실험 구문을 지원합니다.JSX 또는 TypeScript를 사용하는 코드는 플러그인 또는 트랜스필러를 [3][4]사용하는 경우에도 처리할 수 있습니다.

역사

JSLintJSHint 모두 코드 품질과 코딩 [2]스타일에 대한 추가 규칙을 만드는 기능이 없었습니다.JSHint에 기여한 후 Zakas는 2013년 6월에 ESLint(원래 JSCheck로 불렸으나 한 달 후에 이름이 변경됨)라는 새로운 보풀 도구를 만들기로 결정했습니다. 이 툴에서는 모든 규칙을 구성할 수 있으며 런타임[5][6]추가 규칙을 정의하거나 로드할 수 있습니다.

2016년 4월 ESLint 프로젝트는 jQuery [7]Foundation에 가입했습니다.그해 말 jQuery Foundation은 Dojo Foundation과 합병하여 Linux Foundation 프로젝트로 [8][9][10]JS Foundation이 되었습니다.

2017년 10월 ESLint 프로젝트는 컨설팅 프로그램을 통해 JS재단의 "대학원 프로젝트"[11]가 되었습니다.

2019년 3월 현재 ESLint는 JS Foundation과 Node.js [12][13]Foundation의 합병에 따라 OpenJS Foundation의 일부입니다.

도입

JetBrains는 현재 텍스트 파일에 대해 구성된 대로 ESLint 소프트웨어를 실행하는 WebStorm 코드 편집기에서 ESLint에 대한 통합 지원을 제공하며 [14][15][16]편집기에서 문제가 되는 코드 줄 근처에 경고를 표시합니다.

2016년부터 Vue.js 프로젝트는 Vue.js 템플릿 및 기타 기능의 [17][18][19]사용을 자동으로 검증하는 ESLint 플러그인을 제공합니다.2018년부터 이 플러그인은 새로운 Vue.js 프로젝트를 [20]생성하기 위한 마법사에서도 승격되었습니다.

2018년 10월 리액트 프로젝트(Facebook에서 개발)는 코드화 [21][22]규칙을 시행하는 데 도움이 되는 공식 ESLint 플러그인을 발표했습니다.

2021년 현재 ESLint는 가장 일반적으로 사용되는 JavaScript 링터이며 일주일에 [23]14,000,000회 이상 다운로드되고 있습니다.

레퍼런스

  1. ^ "First commit - eslint/eslint". GitHub. Retrieved 2019-07-05.
  2. ^ 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
  3. ^ "The future of TypeScript on ESLint". ESLint - Pluggable JavaScript linter. Retrieved 2020-04-24.
  4. ^ "Accessibility auditing with eslint-plugin-jsx-a11y". web.dev. Google Developers. 2019-04-29. Retrieved 2020-04-24. The [ELint plugin] can help pinpoint [issues] in your JSX.
  5. ^ "Understanding the Real Advantages of Using ESLint". Rangle.io Blog. 2015-03-26. Retrieved 2018-02-26.
  6. ^ "Rename project to ESLint · eslint/eslint@4f4c351". GitHub. 4 July 2013. Retrieved 2020-06-26.
  7. ^ Zakas, Nicholas (19 April 2016). "ESLint Joins The jQuery Foundation". eslint.org. Retrieved 2019-07-05.
  8. ^ "jQuery Foundation and Dojo Foundation to Merge". Official jQuery Blog. 1 September 2015. Retrieved 2018-07-02.
  9. ^ "jQuery Foundation and Dojo Foundation to Merge". PRWeb. 1 July 2015. Retrieved 2018-07-02.
  10. ^ "Announcing the JS Foundation!". SitePen. 2016-10-17. Retrieved 2018-07-02.
  11. ^ "ESLint Graduates from JS Foundation Mentorship Program". JS Foundation Blog. 2017-10-05. Retrieved 2019-07-05.
  12. ^ Singh, Manish (2019-03-12). "Node.js and JS foundations are merging to form OpenJS". VentureBeat. Retrieved 2019-03-21.
  13. ^ "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.
  14. ^ "WebStorm Linting, refactoring and compiling". WebStorm Blog. JetBrains. 30 December 2015. Retrieved 2019-07-05.
  15. ^ "Using JavaScript Standard Style". WebStorm Blog. JetBrains. 7 April 2017. Retrieved 2019-07-05.
  16. ^ "ESLint - WebStorm Manual". JetBrains. Retrieved 2019-07-05.
  17. ^ "Writing Vue.js Applications in TypeScript". Telstra Kloud. Retrieved 2019-07-05.
  18. ^ "Lesson: Automatic Linting with ESLint - The Vue.js Master Class". Vue School. Retrieved 2019-07-05.
  19. ^ "Introduction eslint-plugin-vue". eslint.vuejs.org. Retrieved 2019-07-05.
  20. ^ "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
  21. ^ "ESLint Plugin – Rules of Hooks – React Manual". reactjs.org. Retrieved 2019-07-05.
  22. ^ Markbåge, Sebastian (25 October 2018). "Implement the Hooks proposal · facebook/react". GitHub. Retrieved 2019-07-05.
  23. ^ "jslint vs jshint vs eslint vs tslint vs @typescript eslint/eslint plugin". www.npmtrends.com. Retrieved 2021-01-26.

외부 링크