Move to eslint

This commit is contained in:
Chocobozzz
2020-02-03 08:31:02 +01:00
parent a22046d166
commit a15871560f
390 changed files with 3950 additions and 3615 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ function compareSemVer (a: string, b: string) {
const l = Math.min(segmentsA.length, segmentsB.length)
for (let i = 0; i < l; i++) {
const diff = parseInt(segmentsA[ i ], 10) - parseInt(segmentsB[ i ], 10)
const diff = parseInt(segmentsA[i], 10) - parseInt(segmentsB[i], 10)
if (diff) return diff
}