ESLint

ESLint
logo
Autor Nicholas C. Zakas
Pierwsze wydanie 2013
Aktualna wersja stabilna 6.0.1 – 15 czerwca 2019; około 7 lat temu
Aktualna wersja testowa 8.0.0-beta.2
(10 września 2021) [±]
Język programowania JavaScript
System operacyjny Wieloplatformowe
Rodzaj Statyczna analiza kodu
Licencja MIT
Strona internetowa

ESLint (czasami wymawiane jako easy lint) -- narzędzie do statycznej analizy kodu (linter) do identyfikacji problematycznych fragmentów w kodzie JavaScript. Został stworzony przez Nicholasa C. Zakasa w 2013 roku[1][2]. Reguły w ESLint można konfigurować, a niestandardowe reguły można definiować i ładować.

ESLint obejmuje zarówno jakość kodu, jak i problemy ze stylem kodowania. ESLint obsługuje obecne standardy ECMAScript i eksperymentalną składnię z wersji roboczych dla przyszłych standardów. Kod korzystający z JSX lub TypeScript może być również sprawdzany o ile zostanie użyta odpowiednia wtyczka lub transpilator.

Historia

Zarówno JSLint, jak i JSHint nie miały możliwości stworzenia dodatkowych reguł dotyczących jakości kodu i stylu kodowania[2]. Po współudziale w rozwoju JSHint, Zakas postanowił stworzyć nowe narzędzie do lintowania, ESLint, w którym wszystkie reguły można konfigurować, a dodatkowe reguły można zdefiniować według potrzeb[3].

W kwietniu 2016 projekt ESLint dołączył do Fundacji jQuery[4]. Później tego samego roku jQuery Foundation połączyła się z Dojo Foundation, tworząc JS Foundation jako projekt Linux Foundation[5][6][7].

W październiku 2017, dzięki programowi mentorskiemu, ESLint stał się „Graduate Project” Fundacji JS[8].

Od marca 2019 projekt ESLint jest częścią OpenJS Foundation, po połączeniu JS Foundation i Node.js Foundation[9][10].

Zobacz też

Przypisy

  1. Nicholas Zakas, First commit [online], GitHub, 30 czerwca 2013 [dostęp 2020-01-01] (ang.).
  2. a b Nicholas C. Zakas, Introducing ESLint [online], humanwhocodes.com [dostęp 2020-01-01] (ang.).
  3. Understanding the Real Advantages of Using ESLint [online], Rangle.io, 26 marca 2015 [dostęp 2020-01-01] (ang.).
  4. Nicholas Zakas, ESLint Joins The jQuery Foundation [online], ESLint Blog, 2016 [dostęp 2020-01-01] (ang.).
  5. jQuery Foundation and Dojo Foundation to Merge [online], Official jQuery Blog, 1 września 2015 [dostęp 2020-01-01] (ang.).
  6. jQuery Foundation and Dojo Foundation to Merge [online], PRWeb, 2015 [dostęp 2020-01-01].
  7. Announcing the JS Foundation! [online], SitePen, 17 października 2016 [dostęp 2020-01-01] (ang.).
  8. ESLint Graduates from JS Foundation Mentorship Program [online], JS Foundation, 5 października 2017 [dostęp 2020-01-01] (ang.).
  9. Node.js and JS foundations are merging to form OpenJS [online], VentureBeat, 12 marca 2019 [dostęp 2020-01-01] (ang.).
  10. The Node.js Foundation and JS Foundation Announce an Intent to Merge [online], JS Foundation, 4 października 2018 [dostęp 2020-01-01] (ang.).

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.