vscode-eslint
AGENTS.md2k starsChanged 14 months agoMITView on GitHub
The extension integrates ESLint into VS Code by implementing a ESLint server using the Language Server Protocol (LSP). Key goals: * Defer activation until needed (lazy activation based on opened documents / settings). * Support multiple workspace folders & dynamic working directory inference. * Abstract ESLint version / API differences (CLIEngine vs ESLint class / flat config) transparently. * Provide rich code actions (fix all, rule disable, suggestions) and formatting integration. * Handle notebooks and non-file schemes where possible. Settings…
Trending
Quiet since April.about the whole repository
Who's talking about microsoft/vscode-eslint
- microsoft/vscode“Iteration Plan for November 2019”GitHub · Nov 4, 2019 · 144 reactions
- eslint/eslint“📈 Tracking: Flat Config support”GitHub · Feb 8, 2024 · 91 reactions
- microsoft/vscode“Support multiple formatters for a single file”GitHub · Feb 12, 2022 · 90 reactions
- eslint/eslint“📈 Tracking: ESLint v9 support”GitHub · Apr 24, 2024 · 85 reactions
- microsoft/vscode“Offer "danger" (orange) style between "warning" (yellow) and "error" (red)”GitHub · Apr 14, 2025 · 56 reactions
The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 17
Talked about on GitHub and Bluesky (17 times).
On GitHub · 16
- Nov 4, 2019Iteration Plan for November 2019 — microsoft/vscode144 reactions · 16 comments
- Feb 8, 2024📈 Tracking: Flat Config support — eslint/eslint91 reactions · 100 comments
- Feb 12, 2022Support multiple formatters for a single file — microsoft/vscode90 reactions · 10 comments
- Apr 24, 2024📈 Tracking: ESLint v9 support — eslint/eslint85 reactions · 60 comments
- Apr 14, 2025Offer "danger" (orange) style between "warning" (yellow) and "error" (red) — microsoft/vscode56 reactions · 6 comments
11 more on GitHub
- Feb 8, 2017Show current error in status bar — microsoft/vscode55 reactions · 18 comments
- Oct 13, 2021Doesn't work with esLint 8.x — neoclide/coc-eslint52 reactions · 3 comments
- Apr 16, 2026Thinking mode breaks the edit_file tool with Github Copilot — zed-industries/zed35 reactions · 17 comments
- Jan 6, 2020Configuration of codeActionsOnSave order — microsoft/vscode29 reactions · 10 comments
- Mar 8, 2020Iteration Plan for March 2020 — microsoft/vscode25 reactions · 6 comments
- Sep 14, 2020Iteration Plan for September 2020 — microsoft/vscode22 reactions · 9 comments
- Jan 28, 2026Auto-fix on save unexpectedly removing code and imports — prettier/prettier20 reactions · 5 comments
- Dec 27, 2019Add support for stylelint as formatter — stylelint/vscode-stylelint20 reactions · 14 comments
- Jun 12, 2024[Bug?]: Yarn pnp fails with synckit and prettier plugin in eslint context — yarnpkg/berry16 reactions · 25 comments
- Apr 11, 2024[Bug?]: Yarn pnp / sdk generation doesn't work with ESLint new flat config support — yarnpkg/berry16 reactions · 38 comments
- Aug 6, 2024Server setting to run subset of rules for "Fix All" code action — astral-sh/ruff15 reactions · 3 comments
On Bluesky · 1
- Dec 18, 2025And guess what is the reason why it is not supported? Turns out the place you can get the latest stable version of ESLint LSP from is VS… — @rwxae.xyz0 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository2 other files it gives its agents.
- client/agents.mdAGENTS.md
- server/agents.mdAGENTS.md
The file
We split this agents.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Add schema in root package.json under contributes.configuration.properties.
- Very specific: line 34
Use setting inside eslint.ts logic (e.g., adapt validate() or resolveSettings()).
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
High-Level Overview
The extension integrates ESLint into VS Code by implementing a ESLint server using the Language Server Protocol (LSP).
Key goals:
- Defer activation until needed (lazy activation based on opened documents / settings).
- Support multiple workspace folders & dynamic working directory inference.
- Abstract ESLint version / API differences (CLIEngine vs ESLint class / flat config) transparently.
- Provide rich code actions (fix all, rule disable, suggestions) and formatting integration.
- Handle notebooks and non-file schemes where possible.
Repository Structure (Relevant Directories)
| Path | Purpose |
package.json | Extension manifest, contributes settings/commands/tasks, build scripts. |
client/ | Extension (frontend) code – activation, LSP client, task provider, status integration. |
server/ | LSP server implementation – lint orchestration, diagnostics, code actions. |
$shared/ | Shared protocol message & settings types. This folder is symlinked into ./client/src/shared and ./server/src/shared. |
build/ | CI scripts, helper Node scripts (bin/all.js, install/link steps). |
playgrounds/ | Sample projects used for manual testing across ESLint versions & config styles. |
images/ | Assets for marketplace/readme. |
Settings
Settings are retrieved using a scope where the scope can be global or per resource (folder or file). Therefore settings must never be stored in globals on the server side. The always need to be managed as TextDocumentSettings which are cached by the resource path.
To add a new settings follow these steps:
- Add schema in root
package.jsonundercontributes.configuration.properties. New settings should default to a falsify value if not specified otherwise. All setting keys must be prefixed witheslint - Extend
ConfigurationSettingsunder$shared/settings. - Map retrieval in
client/src/client.tsreadConfiguration() - Use setting inside
eslint.tslogic (e.g., adaptvalidate()orresolveSettings()).
Design Decisions
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

