xref: /vim-8.2.3635/runtime/compiler/eslint.vim (revision 207f0093)
1" Vim compiler file
2" Compiler:    ESLint for JavaScript
3" Maintainer:  Romain Lafourcade <[email protected]>
4" Last Change: 2020 August 20
5
6if exists("current_compiler")
7  finish
8endif
9let current_compiler = "eslint"
10
11if exists(":CompilerSet") != 2
12  command -nargs=* CompilerSet setlocal <args>
13endif
14
15CompilerSet makeprg=npx\ eslint\ --format\ compact
16CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m,%-G%.%#
17