-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc] update documentation for require-jsdoc
- Loading branch information
Simon Mollweide
committed
Mar 2, 2017
1 parent
ee04f0a
commit ecb2803
Showing
4 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
// DESCRIPTION = do not require jsdoc | ||
// STATUS = 2 | ||
|
||
/* eslint no-unused-vars: 0*/ | ||
|
||
// <!START | ||
// BAD | ||
/* | ||
class Test { | ||
constructor() { | ||
this.test = '12'; | ||
} | ||
} | ||
*/ | ||
|
||
// GOOD | ||
/** | ||
* @constructor Test | ||
*/ | ||
class Test { | ||
|
||
/** | ||
* @returns {void} | ||
*/ | ||
constructor() { | ||
this.test = '12'; | ||
} | ||
} | ||
|
||
// OKAY | ||
const testArrow = () => 'testArrow'; | ||
|
||
// END!> | ||
document.window.append('', null); |