(use-package eslint-flymake
:hook ((js-mode . eslint-flymake-setup)
(js-jsx-mode . eslint-flymake-setup)
(typescript-ts-mode . eslint-flymake-setup)
(tsx-ts-mode . eslint-flymake-setup)))
You can configure how to call ESLint by setting
eslint-flymake-command
. For example if you don't to call it using
npx you can do so by executing (setq eslint-flymake-command ("npx" "eslint" "--no-color" "--stdin"))
.
- compile-eslint.el: Enables compilation-mode to work understand the error ESLint error format. Ideal when running ESLint against the whole project.
GPLv3+
Javier Olaechea [email protected]