File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11// Copied from https://github.com/angular-eslint/angular-eslint/blob/main/packages/utils/src/convert-annotated-source-to-failure-case.ts
2+ // With https://github.com/angular-eslint/angular-eslint/pull/1118
23
34import type { TSESLint } from "@typescript-eslint/utils" ;
45
@@ -71,8 +72,6 @@ type SingleErrorOptions<TMessageIds extends string> = BaseErrorOptions &
7172 * data: { prefixes: '"ng"' },
7273 * }),
7374 * ```
74- *
75- * NOTE: The description is purely for documentation purposes. It is not used in the test.
7675 */
7776export function convertAnnotatedSourceToFailureCase < TMessageIds extends string > (
7877 errorOptions : SingleErrorOptions < TMessageIds >
@@ -124,6 +123,7 @@ export function convertAnnotatedSourceToFailureCase<TMessageIds extends string>(
124123 ) ;
125124
126125 return {
126+ name : errorOptions . description ,
127127 code : parsedSource ,
128128 filename : errorOptions . filename ,
129129 options : errorOptions . options ?? [ ] ,
You can’t perform that action at this time.
0 commit comments