Skip to content

Commit fdb9066

Browse files
committed
chore: remove commented code
1 parent cc52b07 commit fdb9066

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/require-usememo/utils.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ export function checkForErrors<T, Y extends Rule.NodeParentExtension | TSESTree.
3737
if (errorName) {
3838
const strict = errorName.includes('unknown');
3939
if (!strict || (strict && context.options?.[0]?.strict)) {
40-
// const specialContext = node && isInSpecialContext(node as Rule.NodeParentExtension, context);
41-
// if (specialContext) {
42-
// // If in special context, report the special error
43-
// report(node, "special-error-found");
44-
// return;
45-
// }
4640
report((statusData.node ?? node) as Y, errorName);
4741
}
4842

0 commit comments

Comments
 (0)