Lint: comma-spacing (error) & comma-dangle (error) (#4200)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-02 17:38:20 -04:00
1 parent 02e77afcd1
commit c6dce043a7
406 files changed
+1590 -1580

No files matched your search

+2 -2
View File
@@ -35,7 +35,7 @@ describe("tuple tests", () => {
expect(i.next()).toEqual({
done: false,
value: [1, 2]
value: [1, 2],
});
expect(i.next()).toEqual({
done: true,
@@ -48,7 +48,7 @@ describe("tuple tests", () => {
expect(i.next()).toEqual({
done: false,
value: [1, 2]
value: [1, 2],
});
expect(i.next()).toEqual({
done: true,
+1 -1
View File
@@ -29,5 +29,5 @@ export const base64 = {
},
encode(data: string) {
return Utf8.parse(data).toString(Base64);
}
},
};
+1 -1
View File
@@ -33,7 +33,7 @@ export function unitsToBytes(value: string) {
const index = suffixes.indexOf(suffix);
return parseInt(
(parseFloat(value) * Math.pow(base, index + 1)).toFixed(1)
(parseFloat(value) * Math.pow(base, index + 1)).toFixed(1),
);
}
+2 -2
View File
@@ -53,7 +53,7 @@ export function downloadFile({ url, timeout, gzip = true }: DownloadFileOptions)
promise,
cancel() {
req.abort();
}
},
};
}
@@ -62,6 +62,6 @@ export function downloadJson(args: DownloadFileOptions): DownloadFileTicket<any>
return {
promise: promise.then(res => JSON.parse(res.toString())),
...rest
...rest,
};
}
+4 -4
View File
@@ -100,7 +100,7 @@ export class HashSet<T> implements Set<T> {
return index < values.length
? { value: [keys[index], values[index]], done: false }
: { done: true, value: undefined };
}
},
});
}
@@ -117,7 +117,7 @@ export class HashSet<T> implements Set<T> {
return nextIndex < observableValues.length
? { value: observableValues[nextIndex++], done: false }
: { done: true, value: undefined };
}
},
});
}
@@ -221,7 +221,7 @@ export class ObservableHashSet<T> implements Set<T>, IInterceptable<ISetWillChan
return index < values.length
? { value: [keys[index], values[index]], done: false }
: { done: true, value: undefined };
}
},
});
}
@@ -238,7 +238,7 @@ export class ObservableHashSet<T> implements Set<T>, IInterceptable<ISetWillChan
return nextIndex < observableValues.length
? { value: observableValues[nextIndex++], done: false }
: { done: true, value: undefined };
}
},
});
}
+1 -1
View File
@@ -105,7 +105,7 @@ export function sortCharts(charts: RawHelmChart[]) {
(chart as ExtendedHelmChart).__version = __version;
return chart as ExtendedHelmChart;
})
}),
),
);