File tree Expand file tree Collapse file tree 4 files changed +2
-28
lines changed Expand file tree Collapse file tree 4 files changed +2
-28
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,11 @@ export default iterateJsdoc(({
12
12
tag : targetTagName
13
13
} ) ;
14
14
15
- if ( utils . hasTag ( 'private' ) ) {
16
- return ;
17
- }
18
-
19
15
if ( _ . isEmpty ( functionExamples ) ) {
20
- report ( 'Missing JSDoc @' + targetTagName + ' declaration.' ) ;
16
+ return report ( 'Missing JSDoc @' + targetTagName + ' declaration.' ) ;
21
17
}
22
18
23
- _ . forEach ( functionExamples , ( example ) => {
19
+ return _ . forEach ( functionExamples , ( example ) => {
24
20
const exampleContent = _ . compact ( ( example . name + ' ' + example . description ) . trim ( ) . split ( '\n' ) ) ;
25
21
26
22
if ( _ . isEmpty ( exampleContent ) ) {
Original file line number Diff line number Diff line change @@ -8,10 +8,6 @@ export default iterateJsdoc(({
8
8
const functionParameterNames = utils . getFunctionParameterNames ( ) ;
9
9
const jsdocParameterNames = utils . getJsdocParameterNames ( ) ;
10
10
11
- if ( utils . hasTag ( 'private' ) ) {
12
- return ;
13
- }
14
-
15
11
// inheritdoc implies that all documentation is inherited; see http://usejsdoc.org/tags-inheritdoc.html
16
12
if ( utils . hasTag ( 'inheritdoc' ) ) {
17
13
return ;
Original file line number Diff line number Diff line change @@ -67,15 +67,6 @@ export default {
67
67
*/
68
68
function quux () {
69
69
70
- }
71
- `
72
- } ,
73
- {
74
- code : `
75
- /**
76
- * @private
77
- */
78
- function quux () {
79
70
}
80
71
`
81
72
}
Original file line number Diff line number Diff line change @@ -133,15 +133,6 @@ export default {
133
133
allowOverrideWithoutParam : true
134
134
}
135
135
}
136
- } ,
137
- {
138
- code : `
139
- /**
140
- * @private
141
- */
142
- function quux (foo) {
143
- }
144
- `
145
136
}
146
137
]
147
138
} ;
You can’t perform that action at this time.
0 commit comments