Automatically fix lint problems only on a specific file November 29, 2023 by Tarik Using ESLint from the CLI should fix it: eslint --fix "C:\code\hello-world.js" ESLint CLI documentation