ESLint CodemodVS Code
Supercharge eslint-plugin-command in VS Code
⚡ Intelligent Autocomplete
Reducing manual typing and mental tax.
🔧 One-Click Auto Fix
Apply transformations instantly — no eslint --fix or formatOnSave required.
🔍 Preview Changes Before Apply
See a clear diff of what will change.
📖 User-Friendly Documentation Hints
In-editor documentation (disabled by default).
[!TIP]
Cannot see suggestion detail?
Try open it by keyboard shortcut. See: VSCode intellisense
Configurations
Key |
Description |
Type |
Default |
eslintCodemod.enable |
Whether enable extension |
boolean |
true |
eslintCodemod.languageIds |
|
array |
["*"] |
eslintCodemod.autocomplete.autoFix |
Auto-fix code on autocomplete |
boolean |
true |
eslintCodemod.autocomplete.docs |
Show docs for suggestions |
boolean |
false |
eslintCodemod.autocomplete.diff |
Preview changes before applying |
boolean |
true |
eslintCodemod.autocomplete.onlyFixable |
Only suggest command that can be fixed |
boolean |
true |
eslintCodemod.alias |
Command name alias |
object |
See package.json |
Commands
Command |
Title |
eslintCodemod.toggleAutoFix |
ESLint codemod: Toggle autocomplete.autoFix configuration |
Todos
- [x] Preview code changes
- [x] Alias support
- [ ] Lazy input
License
MIT License © 2025 Kevin Kwong
| |