diff --git a/eslint-warning-thresholds.json b/eslint-warning-thresholds.json index 5201510858d..c4b3ea8395d 100644 --- a/eslint-warning-thresholds.json +++ b/eslint-warning-thresholds.json @@ -101,15 +101,11 @@ "@typescript-eslint/unbound-method": 5, "no-restricted-syntax": 28 }, - "packages/eth-block-tracker/tests/buildDeferred.ts": { - "@typescript-eslint/naming-convention": 1 - }, "packages/eth-block-tracker/tests/recordCallsToSetTimeout.ts": { "@typescript-eslint/no-explicit-any": 1 }, "packages/eth-block-tracker/tests/setupAfterEnv.ts": { "@typescript-eslint/consistent-type-definitions": 1, - "@typescript-eslint/naming-convention": 1, "@typescript-eslint/no-explicit-any": 3 }, "packages/eth-block-tracker/tests/withBlockTracker.ts": { diff --git a/eslint.config.mjs b/eslint.config.mjs index afe2d00336b..fe48d4313ff 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -188,7 +188,6 @@ const config = createConfig([ { files: ['**/*.d.ts'], rules: { - '@typescript-eslint/naming-convention': 'warn', 'import-x/unambiguous': 'off', }, }, @@ -224,7 +223,6 @@ const config = createConfig([ // TODO: Re-enable these rules or add inline ignores for warranted cases '@typescript-eslint/prefer-nullish-coalescing': 'warn', 'no-restricted-syntax': 'warn', - '@typescript-eslint/naming-convention': 'warn', '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/unbound-method': 'warn', '@typescript-eslint/consistent-type-definitions': 'warn', diff --git a/types/global.d.ts b/types/global.d.ts index dbff7a1ca5d..50a0c02bc4f 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -5,7 +5,7 @@ declare global { // We're using `interface` here so that we can extend and not override it. // In addition, we must use the generic parameter name `R` to match the // Jest types. - // eslint-disable-next-line @typescript-eslint/consistent-type-definitions,@typescript-eslint/naming-convention + // eslint-disable-next-line @typescript-eslint/consistent-type-definitions interface Matchers { toBeFulfilled(): Promise; toNeverResolve(): Promise;