diff --git a/packages/accounts-controller/src/AccountsController.ts b/packages/accounts-controller/src/AccountsController.ts index ed4e34632c..af7714297f 100644 --- a/packages/accounts-controller/src/AccountsController.ts +++ b/packages/accounts-controller/src/AccountsController.ts @@ -892,6 +892,8 @@ export class AccountsController extends BaseController< const index = Math.max( keyringAccounts.length + 1, + // ESLint is confused; this is a number. + // eslint-disable-next-line @typescript-eslint/restrict-plus-operands lastDefaultIndexUsedForKeyringType + 1, ); diff --git a/packages/assets-controllers/src/NftDetectionController.test.ts b/packages/assets-controllers/src/NftDetectionController.test.ts index 00e9ecf641..8d55061812 100644 --- a/packages/assets-controllers/src/NftDetectionController.test.ts +++ b/packages/assets-controllers/src/NftDetectionController.test.ts @@ -1411,6 +1411,8 @@ describe('NftDetectionController', () => { it('should not call addNFt when the request to Nft API call throws', async () => { const selectedAccount = createMockInternalAccount({ address: '0x3' }); nock(NFT_API_BASE_URL) + // ESLint is confused; this is a string. + // eslint-disable-next-line @typescript-eslint/restrict-template-expressions .get(`/users/${selectedAccount.address}/tokens`) .query({ continuation: '',