Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
excaliborr committed Jan 8, 2024
1 parent 893773a commit 1fc88be
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-var-requires": "off"
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "off"
}
}
2 changes: 0 additions & 2 deletions src/paymasters/Paymaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ export class Paymaster {
this.endpoint = endpoint;
}

// eslint-disable
public async sponsorUserOperation(
userOp: PartialUserOperation,
entryPoint: `0x${string}`,
bundlierClient: PimlicoBundlerClient,
): Promise<`0x${string}` | SponsorUserOperationReturnType> {
throw new Error('This is a base class and should not be called directly.');
}
// eslint-enable
}
3 changes: 0 additions & 3 deletions src/paymasters/PimlicoPaymaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ export class PimlicoPaymaster extends Paymaster {
});
}

// eslint-disable
public async sponsorUserOperation(
userOperation: PartialUserOperation,
entryPoint: `0x${string}`,
bundlerClient: PimlicoBundlerClient,
): Promise<`0x${string}` | SponsorUserOperationReturnType> {
// eslint-enable

return await this.paymasterClient.sponsorUserOperation({
userOperation,
entryPoint,
Expand Down
2 changes: 0 additions & 2 deletions src/paymasters/StackUpPaymaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ export class StackUpPaymaster extends Paymaster {
});
}

// eslint-disable
public async sponsorUserOperation(
userOperation: PartialUserOperation,
entryPoint: `0x${string}`,
bundlerClient: PimlicoBundlerClient,
): Promise<`0x${string}` | SponsorUserOperationReturnType> {
// eslint-enable
return await this.paymasterClient.sponsorUserOperation({
userOperation,
entryPoint,
Expand Down

0 comments on commit 1fc88be

Please sign in to comment.