Skip to content

Commit

Permalink
[Unified] Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
S2kael committed Oct 4, 2024
1 parent 17e6ef9 commit c352721
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ module.exports = {
ignorePatterns: [
...base.ignorePatterns,
"i18next-scanner.config.js",
"koni-*.mjs"
"koni-*.mjs",
"packages/extension-web-ui/**/*", // Remove after migration to web-ui
// "*.spec.ts"
],
parserOptions: {
Expand Down
3 changes: 3 additions & 0 deletions packages/extension-base/src/constants/environment.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2019-2022 @subwallet/extension-base authors & contributors
// SPDX-License-Identifier: Apache-2.0

const PRODUCTION_BRANCHES = ['master', 'webapp', 'webapp-dev'];
const branchName = process.env.BRANCH_NAME || 'subwallet-dev';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright 2019-2022 @subwallet/extension-base
// SPDX-License-Identifier: Apache-2.0

import { assert, isHex } from '@polkadot/util';
import { keyExtractSuri, mnemonicGenerate, mnemonicValidate } from '@polkadot/util-crypto';
import { CommonAccountErrorType, MnemonicType, RequestAccountCreateSuriV2, RequestExportAccountProxyMnemonic, RequestMnemonicCreateV2, RequestMnemonicValidateV2, ResponseAccountCreateSuriV2, ResponseExportAccountProxyMnemonic, ResponseMnemonicCreateV2, ResponseMnemonicValidateV2, SWCommonAccountError } from '@subwallet/extension-base/types';
import { createAccountProxyId, getSuri } from '@subwallet/extension-base/utils';
import { tonMnemonicGenerate } from '@subwallet/keyring';
Expand All @@ -11,6 +9,9 @@ import { tonMnemonicValidate } from '@subwallet/keyring/utils';
import { keyring } from '@subwallet/ui-keyring';
import { t } from 'i18next';

import { assert, isHex } from '@polkadot/util';
import { keyExtractSuri, mnemonicGenerate, mnemonicValidate } from '@polkadot/util-crypto';

import { AccountBaseHandler } from './Base';

export const SEED_DEFAULT_LENGTH = 12;
Expand Down

0 comments on commit c352721

Please sign in to comment.