2021-04-27 22:55:06 -07:00
|
|
|
" Vim compiler file
|
|
|
|
" Compiler: ESLint for JavaScript
|
|
|
|
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
2021-04-29 18:13:43 -07:00
|
|
|
" Last Change: 2020 August 20
|
2024-04-04 14:49:21 -07:00
|
|
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
2021-04-27 22:55:06 -07:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "eslint"
|
|
|
|
|
2021-04-29 18:13:43 -07:00
|
|
|
CompilerSet makeprg=npx\ eslint\ --format\ compact
|
2021-04-27 22:55:06 -07:00
|
|
|
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m,%-G%.%#
|