
Find and fix problems in your JavaScript code - ESLint - Pluggable ...
ESLint is an open source project that helps you find and fix problems with your JavaScript code. It doesn't matter if you're writing JavaScript in the browser or on the server, with or without a …
Getting Started with ESLint
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code, with the goal of making code more consistent and avoiding bugs. ESLint is completely pluggable. Every …
Documentation - ESLint - Pluggable JavaScript Linter
Intended for end users of ESLint. Contains information about core rules, configuration, command line options, formatters, and integrations, as well as guides for migrating from earlier versions of ESLint.
Core Concepts - ESLint - Pluggable JavaScript Linter
The ESLint Node.js API lets you use ESLint programmatically from Node.js code. The API is useful when developing plugins, integrations, and other tools related to ESLint.
Use ESLint in Your Project - ESLint - Pluggable JavaScript Linter
This guide is intended for those who wish to use ESLint as an end-user. If you’re looking for how to extend ESLint or work with the ESLint source code, please see the Extend ESLint documentation.
Command Line Interface Reference - ESLint
The ESLint Command Line Interface (CLI) lets you execute linting from the terminal. The CLI has a variety of options that you can pass to configure ESLint. Run the CLI ESLint requires Node.js for …
Configure ESLint - ESLint - Pluggable JavaScript Linter
ESLint is designed to be flexible and configurable for your use case. You can turn off every rule and run only with basic syntax validation or mix and match the bundled rules and your custom rules to fit the …
检测并修复 JavaScript 代码中的问题。 - ESLint - 插件化的 JavaScript 代 …
ESLint 是一个开源项目,可以帮助你发现并修复 JavaScript 代码中的问题。 不论你的 JavaScript 是在浏览器还是在服务器,是否使用框架,ESLint 都可以帮助你的代码变得更好。
ESLint 入门 - ESLint - 插件化的 JavaScript 代码检查工具
也可以全局安装 ESLint 而不仅限于本地(使用 npm install eslint --global)。 但并不推荐这样做,因为无论使用哪种安装方式,你都需要在本地安装插件和可共享配置。
Rules Reference - ESLint - Pluggable JavaScript Linter
Rules in ESLint are grouped by type to help you understand their purpose. Each rule has emojis denoting: