Skip to content

Commit

Permalink
chore: lint fixes + ignore leap test folder for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 committed Oct 7, 2024
1 parent a17f460 commit c2e7a7d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/deploy-web/src/components/layout/WalletStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import { browserEnvConfig } from "@src/config/browser-env.config";
import { useWallet } from "@src/context/WalletProvider";
import { useLoginRequiredEventHandler } from "@src/hooks/useLoginRequiredEventHandler";
import { useManagedEscrowFaqModal } from "@src/hooks/useManagedEscrowFaqModal";
import { getSplitText } from "@src/hooks/useShortText";
import { useWalletBalance } from "@src/hooks/useWalletBalance";
import { udenomToDenom } from "@src/utils/mathHelpers";
import { uaktToAKT } from "@src/utils/priceUtils";
import { UrlService } from "@src/utils/urlUtils";
import { FormattedDecimal } from "../shared/FormattedDecimal";
import { LinkTo } from "../shared/LinkTo";
import { ConnectWalletButton } from "../wallet/ConnectWalletButton";
import { getSplitText } from "@src/hooks/useShortText";

const goToCheckout = () => {
window.location.href = "/api/proxy/v1/checkout";
Expand Down
4 changes: 2 additions & 2 deletions apps/deploy-web/src/components/settings/CertificateList.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";
import { useState, useEffect } from "react";
import { useEffect,useState } from "react";
import { FormattedDate } from "react-intl";
import { Button, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, CustomPagination } from "@akashnetwork/ui/components";
import { Button, CustomPagination,Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@akashnetwork/ui/components";
import { Check } from "iconoir-react";

import { ConnectWallet } from "@src/components/shared/ConnectWallet";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import { useSnackbar } from "notistack";

import { RestApiCertificate } from "@src/types/certificate";
import { AnalyticsEvents } from "@src/utils/analytics";
import { ApiUrlService, loadWithPagination } from "@src/utils/apiUtils";
import { TransactionMessageData } from "@src/utils/TransactionMessageData";
import { getStorageWallets, updateWallet } from "@src/utils/walletUtils";
import { useSettings } from "../SettingsProvider";
import { useWallet } from "../WalletProvider";
import { ApiUrlService, loadWithPagination } from "@src/utils/apiUtils";

export type LocalCert = {
certPem: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import "@interchain-ui/react/styles";
import "@interchain-ui/react/globalStyles";

import { GasPrice } from "@cosmjs/stargate";
import { wallets as metamask } from "@cosmos-kit/cosmos-extension-metamask";
import { wallets as cosmostation } from "@cosmos-kit/cosmostation-extension";
import { wallets as keplr } from "@cosmos-kit/keplr";
import { wallets as leap } from "@cosmos-kit/leap";
Expand All @@ -12,7 +13,6 @@ import { useChain } from "@cosmos-kit/react";
import { akash, akashSandbox, akashTestnet, assetLists } from "@src/chains";
import networkStore from "@src/store/networkStore";
import { customRegistry } from "@src/utils/customRegistry";
import { wallets as metamask } from "@cosmos-kit/cosmos-extension-metamask";

type Props = {
children: React.ReactNode;
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-config/.eslintrc.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
},
extends: ["eslint:recommended"],
plugins: ["simple-import-sort"],
ignorePatterns: ["node_modules", "dist", "build", "public"],
ignorePatterns: ["node_modules", "dist", "build", "public", "Leap"],
rules: {
"@typescript-eslint/no-unused-vars": ["error", { ignoreRestSiblings: true }],
"simple-import-sort/imports": [
Expand Down

0 comments on commit c2e7a7d

Please sign in to comment.