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