Skip to content

Commit f97138d

Browse files
committed
Comment tweak
1 parent 3ccba73 commit f97138d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/prefer-module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -606,11 +606,11 @@ function create(context) {
606606
/** @type {{parent: import('estree').Node}} */
607607
const {parent} = node;
608608

609+
// `path.dirname(filename)`
609610
if (
610611
isPathDirnameCall(parent, sourceCode)
611612
&& parent.arguments[0] === node
612613
) {
613-
// Report `path.dirname(filename)`
614614
yield getProblem(parent, 'dirname');
615615
return;
616616
}

0 commit comments

Comments
 (0)