From a4b99d7b602843a04b34e573da31dd4b6d83cfbd Mon Sep 17 00:00:00 2001 From: Dimitri Mitropoulos Date: Mon, 25 May 2020 14:38:39 -0400 Subject: [PATCH] updates message to resemble the eslint-comments/require-description --- packages/eslint-plugin/src/rules/ban-ts-comment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin/src/rules/ban-ts-comment.ts b/packages/eslint-plugin/src/rules/ban-ts-comment.ts index 3fb0b1548e7..ac9ffa9a275 100644 --- a/packages/eslint-plugin/src/rules/ban-ts-comment.ts +++ b/packages/eslint-plugin/src/rules/ban-ts-comment.ts @@ -35,7 +35,7 @@ export default util.createRule<[Options], MessageIds>({ tsDirectiveComment: 'Do not use "// @ts-{{directive}}" because it alters compilation errors.', tsDirectiveCommentRequiresDescription: - 'When using "// @ts-{{directive}}" you must also provide a description after the the directive.', + 'Include a description after the "// @ts-{{directive}}" directive to explain why the @ts-{{directive}} is necessary.', }, schema: [ {