Skip to content

Commit e8cda0c

Browse files
committed
fix: use of internal report utility
1 parent c639724 commit e8cda0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rules/checkExamples.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ export default iterateJsdoc(({
8686
globalState,
8787
}) => {
8888
if (semver.gte(ESLint.version, '8.0.0')) {
89-
report({
90-
loc: {start: {column: 1, line: 1}},
91-
message: 'This rule cannot yet be supported for ESLint 8; you ' +
89+
report(
90+
'This rule cannot yet be supported for ESLint 8; you ' +
9291
'should either downgrade to ESLint 7 or disable this rule. The ' +
9392
'possibility for ESLint 8 support is being tracked at https://github.com/eslint/eslint/issues/14745',
94-
});
93+
{column: 1, line: 1},
94+
);
9595

9696
return;
9797
}

0 commit comments

Comments
 (0)