fix: fix lint errors and update headers

This commit is contained in:
2026-01-08 02:04:15 +03:00
parent 0247a5238e
commit 513dc8e57f
30 changed files with 43 additions and 44 deletions
+3 -4
View File
@@ -1,15 +1,14 @@
// Copyright 2017-2026 @polkadot/apps authors & contributors
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { formatNumber, stringCamelCase } from '@pezkuwi/util';
import fs from 'node:fs';
import path from 'node:path';
import { formatNumber, stringCamelCase } from '@polkadot/util';
const MAX_SIZE = 48 * 1024;
// FIXME The sorting here and the sorting from linting seems like a mismatch...
const HEADER = '// Copyright 2017-2026 @polkadot/apps authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// Do not edit. Auto-generated via node scripts/imgConvert.mjs\n\n';
const HEADER = '// Copyright 2017-2026 @pezkuwi/apps authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// Do not edit. Auto-generated via node scripts/imgConvert.mjs\n\n';
/** @type {Record<string, string>} */
const MIME = {