view runtime/compiler/eslint.vim @ 25581:b8aa2c93d156 v8.2.3327

patch 8.2.3327: no check for sysconf() failing Commit: https://github.com/vim/vim/commit/ba9c23e77655766f6c59de8be732b7577f795ed3 Author: Zdenek Dohnal <zdohnal@redhat.com> Date: Wed Aug 11 14:20:05 2021 +0200 patch 8.2.3327: no check for sysconf() failing Problem: No check for sysconf() failing. Solution: If sysconf() fails use SIGSTKSZ for the signal stack size. (Zdenek Dohnal, closes #8743)
author Bram Moolenaar <Bram@vim.org>
date Wed, 11 Aug 2021 14:30:05 +0200
parents bbca88cd13d5
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:    ESLint for JavaScript
" Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
" Last Change: 2020 August 20

if exists("current_compiler")
  finish
endif
let current_compiler = "eslint"

if exists(":CompilerSet") != 2
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=npx\ eslint\ --format\ compact
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m,%-G%.%#