From cfa955b78ccfbc662a9e77a7833e6a9259e7f228 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Fri, 6 Sep 2024 10:38:01 -0700 Subject: [PATCH] chore(lint): remove obsolete suppressions --- packages/zoe/src/contractFacet/zcfMint.js | 1 - packages/zoe/src/contractFacet/zcfSeat.js | 1 - packages/zoe/src/contractFacet/zcfZygote.js | 1 - packages/zoe/src/contractSupport/priceAuthority.js | 1 - packages/zoe/src/contractSupport/priceAuthorityInitial.js | 1 - packages/zoe/src/contractSupport/zoeHelpers.js | 1 - packages/zoe/src/contracts/auction/index.js | 1 - packages/zoe/src/contracts/callSpread/payoffHandler.js | 1 - packages/zoe/src/contracts/callSpread/pricedCallSpread.js | 1 - packages/zoe/src/contracts/loan/scheduleLiquidation.js | 1 - packages/zoe/src/contracts/oracle.js | 1 - packages/zoe/src/contracts/priceAggregator.js | 1 - packages/zoe/src/contracts/sellItems.js | 1 - packages/zoe/src/zoeService/instanceAdminStorage.js | 1 - packages/zoe/src/zoeService/originalZoeSeat.js | 1 - packages/zoe/src/zoeService/startInstance.js | 1 - packages/zoe/src/zoeService/zoe.js | 1 - packages/zoe/src/zoeService/zoeSeat.js | 1 - packages/zoe/tools/manualPriceAuthority.js | 1 - packages/zoe/tools/scriptedPriceAuthority.js | 1 - 20 files changed, 20 deletions(-) diff --git a/packages/zoe/src/contractFacet/zcfMint.js b/packages/zoe/src/contractFacet/zcfMint.js index 085747285cf..1c07c0d0dc4 100644 --- a/packages/zoe/src/contractFacet/zcfMint.js +++ b/packages/zoe/src/contractFacet/zcfMint.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { Fail } from '@endo/errors'; import { E } from '@endo/eventual-send'; import { AmountMath } from '@agoric/ertp'; diff --git a/packages/zoe/src/contractFacet/zcfSeat.js b/packages/zoe/src/contractFacet/zcfSeat.js index 4e9e5b59fce..1e304abdfa3 100644 --- a/packages/zoe/src/contractFacet/zcfSeat.js +++ b/packages/zoe/src/contractFacet/zcfSeat.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { annotateError, Fail } from '@endo/errors'; import { E } from '@endo/eventual-send'; import { diff --git a/packages/zoe/src/contractFacet/zcfZygote.js b/packages/zoe/src/contractFacet/zcfZygote.js index b044f311ee7..a63a25e9fbb 100644 --- a/packages/zoe/src/contractFacet/zcfZygote.js +++ b/packages/zoe/src/contractFacet/zcfZygote.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { Fail } from '@endo/errors'; import { E } from '@endo/eventual-send'; import { passStyleOf } from '@endo/pass-style'; diff --git a/packages/zoe/src/contractSupport/priceAuthority.js b/packages/zoe/src/contractSupport/priceAuthority.js index ae88e854ab0..82be9565080 100644 --- a/packages/zoe/src/contractSupport/priceAuthority.js +++ b/packages/zoe/src/contractSupport/priceAuthority.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { q, Fail } from '@endo/errors'; import { E } from '@endo/eventual-send'; import { Far } from '@endo/marshal'; diff --git a/packages/zoe/src/contractSupport/priceAuthorityInitial.js b/packages/zoe/src/contractSupport/priceAuthorityInitial.js index 110c5affc9b..b5378654542 100644 --- a/packages/zoe/src/contractSupport/priceAuthorityInitial.js +++ b/packages/zoe/src/contractSupport/priceAuthorityInitial.js @@ -1,6 +1,5 @@ // @ts-check // @jessie-check -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { E } from '@endo/far'; import { Far } from '@endo/marshal'; diff --git a/packages/zoe/src/contractSupport/zoeHelpers.js b/packages/zoe/src/contractSupport/zoeHelpers.js index 46886ba5c3f..45a0c5c5732 100644 --- a/packages/zoe/src/contractSupport/zoeHelpers.js +++ b/packages/zoe/src/contractSupport/zoeHelpers.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { Fail } from '@endo/errors'; import { E } from '@endo/eventual-send'; import { makePromiseKit } from '@endo/promise-kit'; diff --git a/packages/zoe/src/contracts/auction/index.js b/packages/zoe/src/contracts/auction/index.js index d6b2f432960..fd3bc2060ca 100644 --- a/packages/zoe/src/contracts/auction/index.js +++ b/packages/zoe/src/contracts/auction/index.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { Fail } from '@endo/errors'; import { E } from '@endo/eventual-send'; import { mustMatch } from '@endo/patterns'; diff --git a/packages/zoe/src/contracts/callSpread/payoffHandler.js b/packages/zoe/src/contracts/callSpread/payoffHandler.js index e8b6619e443..5825b494bab 100644 --- a/packages/zoe/src/contracts/callSpread/payoffHandler.js +++ b/packages/zoe/src/contracts/callSpread/payoffHandler.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ /// import { E } from '@endo/eventual-send'; diff --git a/packages/zoe/src/contracts/callSpread/pricedCallSpread.js b/packages/zoe/src/contracts/callSpread/pricedCallSpread.js index 358124b2da3..93838be87ea 100644 --- a/packages/zoe/src/contracts/callSpread/pricedCallSpread.js +++ b/packages/zoe/src/contracts/callSpread/pricedCallSpread.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ /// import { Fail } from '@endo/errors'; diff --git a/packages/zoe/src/contracts/loan/scheduleLiquidation.js b/packages/zoe/src/contracts/loan/scheduleLiquidation.js index 6ec50838cb1..cf040bb2c9f 100644 --- a/packages/zoe/src/contracts/loan/scheduleLiquidation.js +++ b/packages/zoe/src/contracts/loan/scheduleLiquidation.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { E } from '@endo/eventual-send'; import { AmountMath } from '@agoric/ertp'; diff --git a/packages/zoe/src/contracts/oracle.js b/packages/zoe/src/contracts/oracle.js index f9338017418..96f7c6cdd15 100644 --- a/packages/zoe/src/contracts/oracle.js +++ b/packages/zoe/src/contracts/oracle.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { assert, Fail } from '@endo/errors'; import { Far } from '@endo/marshal'; import { AmountMath } from '@agoric/ertp'; diff --git a/packages/zoe/src/contracts/priceAggregator.js b/packages/zoe/src/contracts/priceAggregator.js index fe291e24898..0a50a514c82 100644 --- a/packages/zoe/src/contracts/priceAggregator.js +++ b/packages/zoe/src/contracts/priceAggregator.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { Fail, q } from '@endo/errors'; import { AmountMath, AssetKind, makeIssuerKit } from '@agoric/ertp'; import { assertAllDefined } from '@agoric/internal'; diff --git a/packages/zoe/src/contracts/sellItems.js b/packages/zoe/src/contracts/sellItems.js index 4a53a8536c1..2376011a2cf 100644 --- a/packages/zoe/src/contracts/sellItems.js +++ b/packages/zoe/src/contracts/sellItems.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { Fail } from '@endo/errors'; import { Far } from '@endo/marshal'; import { Nat } from '@endo/nat'; diff --git a/packages/zoe/src/zoeService/instanceAdminStorage.js b/packages/zoe/src/zoeService/instanceAdminStorage.js index 632da3f92ad..65ff6ae1dc4 100644 --- a/packages/zoe/src/zoeService/instanceAdminStorage.js +++ b/packages/zoe/src/zoeService/instanceAdminStorage.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { canBeDurable, makeScalarBigSetStore, diff --git a/packages/zoe/src/zoeService/originalZoeSeat.js b/packages/zoe/src/zoeService/originalZoeSeat.js index cee45bd20dc..f60d02057a6 100644 --- a/packages/zoe/src/zoeService/originalZoeSeat.js +++ b/packages/zoe/src/zoeService/originalZoeSeat.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { Fail } from '@endo/errors'; import { SubscriberShape } from '@agoric/notifier'; import { E } from '@endo/eventual-send'; diff --git a/packages/zoe/src/zoeService/startInstance.js b/packages/zoe/src/zoeService/startInstance.js index 79d1d8470f9..ae3d1487cf5 100644 --- a/packages/zoe/src/zoeService/startInstance.js +++ b/packages/zoe/src/zoeService/startInstance.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { E } from '@endo/eventual-send'; import { passStyleOf } from '@endo/marshal'; import { diff --git a/packages/zoe/src/zoeService/zoe.js b/packages/zoe/src/zoeService/zoe.js index 24a64f85a04..44990d6e4c1 100644 --- a/packages/zoe/src/zoeService/zoe.js +++ b/packages/zoe/src/zoeService/zoe.js @@ -1,5 +1,4 @@ // @jessie-check -/* eslint @typescript-eslint/no-floating-promises: "warn" */ /** * Zoe uses ERTP, the Electronic Rights Transfer Protocol diff --git a/packages/zoe/src/zoeService/zoeSeat.js b/packages/zoe/src/zoeService/zoeSeat.js index c6d58c6d29d..acaae2e2c20 100644 --- a/packages/zoe/src/zoeService/zoeSeat.js +++ b/packages/zoe/src/zoeService/zoeSeat.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { Fail } from '@endo/errors'; import { prepareDurablePublishKit } from '@agoric/notifier'; import { E } from '@endo/eventual-send'; diff --git a/packages/zoe/tools/manualPriceAuthority.js b/packages/zoe/tools/manualPriceAuthority.js index 0e0c71308ac..9203130fc7e 100644 --- a/packages/zoe/tools/manualPriceAuthority.js +++ b/packages/zoe/tools/manualPriceAuthority.js @@ -1,5 +1,4 @@ // @jessie-check -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { AmountMath, makeIssuerKit, AssetKind } from '@agoric/ertp'; import { E } from '@endo/eventual-send'; diff --git a/packages/zoe/tools/scriptedPriceAuthority.js b/packages/zoe/tools/scriptedPriceAuthority.js index 0d5350860c7..1d01dac4b9a 100644 --- a/packages/zoe/tools/scriptedPriceAuthority.js +++ b/packages/zoe/tools/scriptedPriceAuthority.js @@ -1,4 +1,3 @@ -/* eslint @typescript-eslint/no-floating-promises: "warn" */ import { AmountMath, makeIssuerKit, AssetKind } from '@agoric/ertp'; import { E } from '@endo/eventual-send'; import { Far } from '@endo/marshal';