mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 05:27:56 +00:00
fix: fix lint errors and update headers
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
@@ -7,12 +7,11 @@
|
||||
import CrustPinner from '@crustio/crust-pin';
|
||||
import PinataSDK from '@pinata/sdk';
|
||||
// @ts-expect-error No definition file
|
||||
import { execSync } from '@pezkuwi/dev/scripts/util.mjs';
|
||||
// @ts-expect-error No definition file
|
||||
import cloudflare from 'dnslink-cloudflare';
|
||||
import fs from 'node:fs';
|
||||
|
||||
// @ts-expect-error No definition file
|
||||
import { execSync } from '@polkadot/dev/scripts/util.mjs';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore Using ignore since the file won't be there in dev
|
||||
import { createWsEndpoints } from '../packages/apps-config/build/endpoints/index.js';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2026 @polkadot/react-components authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/react-components authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const HEADER = `// Copyright 2017-2026 @polkadot/react-components authors & contributors
|
||||
const HEADER = `// Copyright 2017-2026 @pezkuwi/react-components authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Automatically generated, do not edit
|
||||
|
||||
Reference in New Issue
Block a user