fix(eslint): rules included deprecated plugin

This commit is contained in:
Paul Makles
2022-06-12 19:38:29 +01:00
parent 8e1685a402
commit 74a42914d7
24 changed files with 122 additions and 61 deletions

View File

@@ -628,7 +628,7 @@ export default function ContextMenus() {
}
for (let i = 0; i < actions.length; i++) {
let action = actions[i];
const action = actions[i];
if (action) {
generateAction({
action,

View File

@@ -11,7 +11,7 @@ export function urlBase64ToUint8Array(base64String: string) {
export function mapToRecord<K extends symbol | string | number, V>(
map: Map<K, V>,
) {
let record = {} as Record<K, V>;
const record = {} as Record<K, V>;
map.forEach((v, k) => (record[k] = v));
return record;
}