Index

集成 ESLint

本指南适用于那些希望通过使用 ESLint API 将 ESLint 的功能集成到其他应用中的人。

🌐 This guide is intended for those who wish to integrate the functionality of ESLint into other applications by using the ESLint API.

为了集成 ESLint,建议:

🌐 In order to integrate ESLint, it’s recommended that:

  • 你知道 JavaScript,因为 ESLint 是用 JavaScript 编写的。
  • 你对 Node.js 有一定的了解,因为 ESLint 在其上运行。

如果这听起来像你,那么继续阅读以开始。

🌐 If that sounds like you, then continue reading to get started.

与 Node.js API 教程集成

🌐 Integrate with the Node.js API Tutorial

本教程将引导你完成使用 Node.js API 创建与 ESLint 的基本集成的过程。

🌐 This tutorial walks you through the process of creating a basic integration with ESLint using the Node.js API.

Node.js API 参考

🌐 Node.js API Reference

如果你有兴趣编写使用 ESLint 的工具,则可以使用 Node.js API 以编程方式访问功能。

🌐 If you’re interested in writing a tool that uses ESLint, then you can use the Node.js API to get programmatic access to functionality.