For the complete documentation index, see llms.txt. This page is also available as Markdown.

Populate quickfix list with eslint errors

Set the makeprg to eslint:

set makeprg=npx\ eslint\ -f\ unix\ --quiet\ 'src/**/*.{js,ts,jsx,tsx}'

Then run make to populate the quickfix list.

Source: til.hashrocket.com

Last updated