mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	Merge pull request #818 from rice-cracker-dev/eslint-fix
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
		
			
				
	
				Set up binary cache / cachix (default) (push) Waiting to run
				
			
		
			
				
	
				Set up binary cache / cachix (maximal) (push) Waiting to run
				
			
		
			
				
	
				Set up binary cache / cachix (nix) (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Validate flake (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Check formatting (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Check source tree for typos (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Validate documentation builds (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
				
			
		
			
				
	
				Build and deploy documentation / Check latest commit (push) Waiting to run
				
			
		
			
				
	
				Build and deploy documentation / publish (push) Blocked by required conditions
				
			
		
		
	
	
		
	
		
			Some checks are pending
		
		
	
	Set up binary cache / cachix (default) (push) Waiting to run
				
			Set up binary cache / cachix (maximal) (push) Waiting to run
				
			Set up binary cache / cachix (nix) (push) Waiting to run
				
			Treewide Checks / Validate flake (push) Waiting to run
				
			Treewide Checks / Check formatting (push) Waiting to run
				
			Treewide Checks / Check source tree for typos (push) Waiting to run
				
			Treewide Checks / Validate documentation builds (push) Waiting to run
				
			Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
				
			Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
				
			Build and deploy documentation / Check latest commit (push) Waiting to run
				
			Build and deploy documentation / publish (push) Blocked by required conditions
				
			languages: fix eslint_d error on load
This commit is contained in:
		
					parent
					
						
							
								67d9aa7cb5
							
						
					
				
			
			
				commit
				
					
						a6f8df6785
					
				
			
		
					 4 changed files with 4 additions and 3 deletions
				
			
		|  | @ -62,7 +62,7 @@ | |||
|             local markers = { "eslint.config.js", "eslint.config.mjs", | ||||
|               ".eslintrc", ".eslintrc.json", ".eslintrc.js", ".eslintrc.yml", } | ||||
|             for _, filename in ipairs(markers) do | ||||
|               local path = vim.fs.join(cwd, filename) | ||||
|               local path = vim.fs.joinpath(cwd, filename) | ||||
|               if vim.loop.fs_stat(path) then | ||||
|                 return require("lint.linters.eslint_d").parser(output, bufnr, cwd) | ||||
|               end | ||||
|  |  | |||
|  | @ -61,7 +61,7 @@ | |||
|             local markers = { "eslint.config.js", "eslint.config.mjs", | ||||
|               ".eslintrc", ".eslintrc.json", ".eslintrc.js", ".eslintrc.yml", } | ||||
|             for _, filename in ipairs(markers) do | ||||
|               local path = vim.fs.join(cwd, filename) | ||||
|               local path = vim.fs.joinpath(cwd, filename) | ||||
|               if vim.loop.fs_stat(path) then | ||||
|                 return require("lint.linters.eslint_d").parser(output, bufnr, cwd) | ||||
|               end | ||||
|  |  | |||
|  | @ -103,7 +103,7 @@ | |||
|             local markers = { "eslint.config.js", "eslint.config.mjs", | ||||
|               ".eslintrc", ".eslintrc.json", ".eslintrc.js", ".eslintrc.yml", } | ||||
|             for _, filename in ipairs(markers) do | ||||
|               local path = vim.fs.join(cwd, filename) | ||||
|               local path = vim.fs.joinpath(cwd, filename) | ||||
|               if vim.loop.fs_stat(path) then | ||||
|                 return require("lint.linters.eslint_d").parser(output, bufnr, cwd) | ||||
|               end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Phan Đăng Khoa
				Phan Đăng Khoa