eslint.vim 385 B

12345678910111213
  1. " Vim compiler file
  2. " Compiler: ESLint for JavaScript
  3. " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
  4. " Last Change: 2024 Nov 30
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "eslint"
  9. CompilerSet makeprg=npx\ eslint\ --format\ stylish
  10. CompilerSet errorformat=%-P%f,\%\\s%#%l:%c\ %#\ %trror\ \ %m,\%\\s%#%l:%c\ %#\ %tarning\ \ %m,\%-Q,\%-G%.%#,