Skip to content

Commit c8b0614

Browse files
ESLint: remove 'ts-lint' commits (#2686)
1 parent fe94f56 commit c8b0614

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.eslintrc.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,8 @@ overrides:
511511
'@typescript-eslint/adjacent-overload-signatures': error
512512
'@typescript-eslint/array-type': [error, { default: generic }]
513513
'@typescript-eslint/await-thenable': error
514-
'@typescript-eslint/ban-ts-comment':
515-
[error, { 'ts-expect-error': 'allow-with-description' }]
516-
'@typescript-eslint/ban-tslint-comment': off # TODO error
514+
'@typescript-eslint/ban-ts-comment': [error, { 'ts-expect-error': false }]
515+
'@typescript-eslint/ban-tslint-comment': error
517516
'@typescript-eslint/ban-types': error
518517
'@typescript-eslint/class-literal-property-style': off
519518
'@typescript-eslint/consistent-type-assertions':

src/type/definition.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,13 @@ export function isNullableType(type: any): type is GraphQLNullableType;
241241

242242
export function assertNullableType(type: any): GraphQLNullableType;
243243

244-
// FIXME Disabled because of https://github.com/yaacovCR/graphql-tools-fork/issues/40#issuecomment-586671219
245-
// tslint:disable:unified-signatures
246244
export function getNullableType(type: undefined): undefined;
247245
export function getNullableType<T extends GraphQLNullableType>(type: T): T;
248246
export function getNullableType<T extends GraphQLNullableType>(
247+
// FIXME Disabled because of https://github.com/yaacovCR/graphql-tools-fork/issues/40#issuecomment-586671219
249248
// eslint-disable-next-line @typescript-eslint/unified-signatures
250249
type: GraphQLNonNull<T>,
251250
): T;
252-
// tslint:enable:unified-signatures
253251

254252
/**
255253
* These named types do not include modifiers like List or NonNull.

0 commit comments

Comments
 (0)