Skip to content

Commit 83a37a7

Browse files
committed
refactor: use named export for getJSDocComment (expected in linting)
1 parent 6285a52 commit 83a37a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/iterateJsdoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import {default as commentParser, stringify as commentStringify} from 'comment-parser';
33
import _ from 'lodash';
44
import jsdocUtils from './jsdocUtils';
5-
import getJSDocComment, {getReducedASTNode} from './eslint/getJSDocComment';
5+
import {getJSDocComment, getReducedASTNode} from './eslint/getJSDocComment';
66

77
const globalState = new Map();
88

test/eslint/getJSDocComment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
RuleTester,
33
} from 'eslint';
4-
import getJSDocComment from '../../src/eslint/getJSDocComment';
4+
import {getJSDocComment} from '../../src/eslint/getJSDocComment';
55
import {getSettings} from '../../src/iterateJsdoc';
66

77
const rule = {

0 commit comments

Comments
 (0)