diff --git a/src/.eslintrc.js b/src/.eslintrc.js index 5754b371a..b110c461a 100644 --- a/src/.eslintrc.js +++ b/src/.eslintrc.js @@ -14,7 +14,6 @@ module.exports = { "import/prefer-default-export": 0, "node/no-unsupported-features/es-syntax": 0, "node/no-unsupported-features/es-builtins": 0, - "no-proto": 0, camelcase: 0, "class-methods-use-this": 0, "linebreak-style": 0, diff --git a/src/errors.ts b/src/errors.ts index d97b118d1..21f877aff 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -3,7 +3,7 @@ import { HorizonApi } from "./horizon/horizon_api"; // For ES5 compatibility (https://stackoverflow.com/a/55066280). /* tslint:disable:variable-name max-classes-per-file */ - +/* eslint-disable no-proto */ export class NetworkError extends Error { public response: { diff --git a/src/rpc/server.ts b/src/rpc/server.ts index b00594364..482ac0223 100644 --- a/src/rpc/server.ts +++ b/src/rpc/server.ts @@ -86,6 +86,7 @@ function findCreatedAccountSequenceInTransactionMeta( throw new Error('No account created in transaction'); } +/* eslint-disable jsdoc/no-undefined-types */ /** * Handles the network connection to a Soroban RPC instance, exposing an * interface for requests to that instance. diff --git a/src/webauth/errors.ts b/src/webauth/errors.ts index 5ba7bca43..4126ea6e0 100644 --- a/src/webauth/errors.ts +++ b/src/webauth/errors.ts @@ -1,4 +1,4 @@ - +/* eslint-disable no-proto */ export class InvalidChallengeError extends Error { public __proto__: InvalidChallengeError;