mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	Merge pull request #78 from n3oney/feature/eslint_d
replace eslint with eslint_d
This commit is contained in:
		
				commit
				
					
						1b4e2bb624
					
				
			
		
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -39,15 +39,15 @@ with builtins; let | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   # TODO: specify packages |   # TODO: specify packages | ||||||
|   defaultDiagnostics = ["eslint"]; |   defaultDiagnostics = ["eslint_d"]; | ||||||
|   diagnostics = { |   diagnostics = { | ||||||
|     eslint = { |     eslint_d = { | ||||||
|       package = pkgs.nodePackages.eslint; |       package = pkgs.nodePackages.eslint_d; | ||||||
|       nullConfig = pkg: '' |       nullConfig = pkg: '' | ||||||
|         table.insert( |         table.insert( | ||||||
|           ls_sources, |           ls_sources, | ||||||
|           null_ls.builtins.diagnostics.eslint.with({ |           null_ls.builtins.diagnostics.eslint_d.with({ | ||||||
|             command = "${pkg}/bin/eslint", |             command = "${lib.getExe pkg}", | ||||||
|           }) |           }) | ||||||
|         ) |         ) | ||||||
|       ''; |       ''; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 NotAShelf
				NotAShelf