mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	 fd865fbd92
			
		
	
	fd865fbd92
	
	
	
		
			
			compact formatter is no longer distributed with eslint, so:
- switch to '--format stylish' in makeprg
- update 'errorformat' for the 'stylish' format output
fixes: vim/vim#16126
closes: vim/vim#16137
dd21c89626
Co-authored-by: Romain Lafourcade <romainlafourcade@gmail.com>
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			385 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			385 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " Vim compiler file
 | |
| " Compiler:    ESLint for JavaScript
 | |
| " Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
 | |
| " Last Change: 2024 Nov 30
 | |
| 
 | |
| if exists("current_compiler")
 | |
|   finish
 | |
| endif
 | |
| let current_compiler = "eslint"
 | |
| 
 | |
| CompilerSet makeprg=npx\ eslint\ --format\ stylish
 | |
| CompilerSet errorformat=%-P%f,\%\\s%#%l:%c\ %#\ %trror\ \ %m,\%\\s%#%l:%c\ %#\ %tarning\ \ %m,\%-Q,\%-G%.%#,
 |