We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2756a20 commit e1a37d7Copy full SHA for e1a37d7
projects/igniteui-angular/rules/boolean-input-transform.mjs
@@ -84,12 +84,16 @@ export const rule = ESLintUtils.RuleCreator.withoutDocs({
84
decorator,
85
ASTUtils.isClassDeclaration,
86
);
87
-
+ // classDeclaration.body.body.indexOff(property);
88
89
let isBoolean = isBooleanProperty(property/*, parserServices*/);
90
91
if (!isBoolean) return;
92
93
+ const comments = context.sourceCode.getCommentsBefore(classDeclaration.decorators[0] ?? classDeclaration);
94
+ if (comments.some(x => x.value.includes('@hidden') || x.value.includes('@internal')))
95
+ return;
96
+
97
const arg = decorator.expression.arguments[0];
98
const hasTransform =
99
arg &&
0 commit comments