Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions after/ftplugin/javascript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
" Maintainer: vim-javascript community
" URL: https://github.com/pangloss/vim-javascript

compiler eslint

setlocal iskeyword+=$ suffixesadd+=.js

if exists('b:undo_ftplugin')
Expand Down
4 changes: 2 additions & 2 deletions compiler/eslint.vim
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ if exists(":CompilerSet") != 2
command! -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=eslint\ -f\ compact\ %
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m
CompilerSet makeprg=npx\ -q\ eslint\ -f\ unix
CompilerSet errorformat&