# ESLint

ESLint 是一个代码检查工具，用来检查你的代码是否符合指定的规范（例如： = 的前后必须有一个空格）。

* 规范
  * 行业推荐的规范； 在创建项目时，我们使用的是 JavaScript Standard Style 代码风格的规则
  * 自定义的规范。你和你的团队可以自行约定一套规范
* 使用ESLint的好处在于：多人协作时代码风格统一

{% embed url="<https://eslint.org/>" %}

{% embed url="<https://blog.csdn.net/weixin_58384302/article/details/120831674>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chenqianhe.gitbook.io/rules/readme/coding-rules/qian-duan/eslint.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
