File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default iterateJsdoc(({
6
6
report,
7
7
utils
8
8
} ) => {
9
- const targetTagName = utils . getPreferredTagName ( 'example' ) ;
9
+ const targetTagName = 'example' ;
10
10
11
11
const functionExamples = _ . filter ( jsdoc . tags , {
12
12
tag : targetTagName
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import {parse} from 'jsdoctypeparser';
2
2
import iterateJsdoc from '../iterateJsdoc' ;
3
3
4
4
/** @param {string } tag */
5
- const isLink = ( tag ) => {
5
+ const isInlineTag = ( tag ) => {
6
6
return / ^ ( @ l i n k | @ l i n k c o d e | @ l i n k p l a i n | @ t u t o r i a l ) / . test ( tag ) ;
7
7
} ;
8
8
@@ -47,7 +47,7 @@ export default iterateJsdoc(({
47
47
return ;
48
48
}
49
49
validTypeParsing ( tag . name ) ;
50
- } else if ( tag . type && ! isLink ( tag . type ) ) {
50
+ } else if ( tag . type && ! isInlineTag ( tag . type ) ) {
51
51
validTypeParsing ( tag . type ) ;
52
52
}
53
53
} ) ;
You can’t perform that action at this time.
0 commit comments