Set the makeprg to eslint:
makeprg
eslint
set makeprg=npx\ eslint\ -f\ unix\ --quiet\ 'src/**/*.{js,ts,jsx,tsx}'
Then run make to populate the quickfix list.
make
Source: til.hashrocket.com
Last updated 2 years ago