diff --git a/src/index.test.ts b/src/index.test.ts index f1a366ec..3a644ba7 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -91,7 +91,7 @@ test('export', (t): void => { } ], '@typescript-eslint/no-array-constructor': 'error', - '@typescript-eslint/no-base-to-string': 'error', + '@typescript-eslint/no-base-to-string': ['error', { ignoreTaggedTemplateExpressions: true }], '@typescript-eslint/no-dupe-class-members': 'error', '@typescript-eslint/no-dynamic-delete': 'error', '@typescript-eslint/no-empty-interface': 'error', diff --git a/src/index.ts b/src/index.ts index ba593a5a..c275a76d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -75,7 +75,7 @@ export = { singleline: { delimiter: 'comma', requireLast: false } } ], - '@typescript-eslint/no-base-to-string': 'error', + '@typescript-eslint/no-base-to-string': ['error', { ignoreTaggedTemplateExpressions: true }], '@typescript-eslint/no-dynamic-delete': 'error', '@typescript-eslint/no-empty-interface': 'error', '@typescript-eslint/no-extra-non-null-assertion': 'error',