Skip to content

Commit a954b78

Browse files
committed
chore(lint): cleanup of non-functional-s
1 parent 7363750 commit a954b78

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

projects/igniteui-angular/rules/boolean-input-transform.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { TypeFlags } from 'typescript';
55

66
// export type Options = [
77
// {
8-
// suffixes?: string[];
8+
// prop?: string;
99
// },
1010
// ];
1111

12-
// export type MessageIds = 'serviceSuffix';
12+
// export type MessageIds = 'missingTransform';
1313

1414
export const RULE_NAME = 'boolean-input-transform';
1515

@@ -48,6 +48,7 @@ function isBooleanProperty(property, parserServices) {
4848
* @returns {boolean}
4949
*/
5050
function isBooleanType(node, parserServices) {
51+
return false;
5152
const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node);
5253
const checker = parserServices.program.getTypeChecker();
5354
const type = checker.getTypeAtLocation(tsNode);
@@ -84,7 +85,7 @@ export const rule = ESLintUtils.RuleCreator.withoutDocs({
8485
decorator,
8586
ASTUtils.isClassDeclaration,
8687
);
87-
// classDeclaration.body.body.indexOff(property);
88+
// classDeclaration.body.body.indexOf(property);
8889

8990
let isBoolean = isBooleanProperty(property/*, parserServices*/);
9091

0 commit comments

Comments
 (0)