vscode-eslint  by microsoft

VS Code extension integrates ESLint for code analysis

created 9 years ago
1,841 stars

Top 24.0% on sourcepulse

GitHubView on GitHub
Project Summary

This VS Code extension integrates ESLint into the editor, providing real-time linting and auto-fixing for JavaScript, TypeScript, and other supported languages. It targets developers seeking to enforce code quality and style consistency directly within their workflow, improving code maintainability and reducing errors.

How It Works

The extension leverages the ESLint library installed in the workspace or globally. It communicates with ESLint via a Language Server Protocol (LSP) implementation, enabling efficient diagnostics and code actions. The extension supports both traditional .eslintrc.* configurations and the newer ESLint flat config files (eslint.config.js), offering flexibility in project setup.

Quick Start & Requirements

Highlighted Details

  • Supports ESLint's new flat configuration files (eslint.config.js) with configurable behavior based on ESLint version.
  • Integrates with VS Code's codeActionsOnSave for auto-fixing, allowing fine-grained control over which rules are applied.
  • Offers extensive configuration options for working directories, rule severity customization, and validation behavior.
  • Can be used as a formatter, with options to set it as the default for specific languages.

Maintenance & Community

  • Actively maintained by Microsoft.
  • Frequent releases with detailed changelogs.
  • Community support via GitHub Issues.

Licensing & Compatibility

  • MIT License.
  • Compatible with commercial and closed-source projects.

Limitations & Caveats

The extension relies on the user's ESLint installation; issues with ESLint configuration or setup in the terminal may indicate problems that need to be resolved outside the extension. Some advanced features, like flat config support, require newer ESLint versions.

Health Check
Last commit

4 weeks ago

Responsiveness

1 day

Pull Requests (30d)
2
Issues (30d)
9
Star History
37 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Anil Dash Anil Dash(Former CEO of Glitch), and
13 more.

cline by cline

0.8%
48k
VS Code extension for autonomous coding agent
created 1 year ago
updated 1 day ago
Feedback? Help us improve.