mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 02:46:04 +01:00 
			
		
		
		
	Add eslint-plugin-sonarjs (#20431)
We had this plugin before but it was removed as it became outdated, now it was updated again, so it's compatible again. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
		| @@ -64,7 +64,7 @@ export function parseIssueHref(href) { | ||||
| export function strSubMatch(full, sub) { | ||||
|   const res = ['']; | ||||
|   let i = 0, j = 0; | ||||
|   for (; i < sub.length && j < full.length;) { | ||||
|   while (i < sub.length && j < full.length) { | ||||
|     while (j < full.length) { | ||||
|       if (sub[i] === full[j]) { | ||||
|         if (res.length % 2 !== 0) res.push(''); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user