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