mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Add two eslint plugins (#24776)
Add these two plugins and autofix issues: - [eslint-plugin-no-use-extend-native](https://github.com/dustinspecker/eslint-plugin-no-use-extend-native) - [eslint-plugin-array-func](https://github.com/freaktechnik/eslint-plugin-array-func)
This commit is contained in:
		| @@ -36,7 +36,7 @@ export function initCopyContent() { | ||||
|       } | ||||
|     } else { // text, read from DOM | ||||
|       const lineEls = document.querySelectorAll('.file-view .lines-code'); | ||||
|       content = Array.from(lineEls).map((el) => el.textContent).join(''); | ||||
|       content = Array.from(lineEls, (el) => el.textContent).join(''); | ||||
|     } | ||||
|  | ||||
|     // try copy original first, if that fails and it's an image, convert it to png | ||||
|   | ||||
		Reference in New Issue
	
	Block a user