-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TomDoc support to no-deprecated rule
- Loading branch information
Showing
5 changed files
with
156 additions
and
16 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,22 @@ | ||
// Deprecated: This function is terrible. | ||
// | ||
// With another line comment in description. | ||
export function fn() { return null } | ||
|
||
// Deprecated: this is awful, | ||
// use NotAsBadClass. | ||
// | ||
// Some other description text. | ||
export default class TerribleClass { | ||
|
||
} | ||
|
||
// Deprecated: Please stop sending/handling this action type. | ||
export const MY_TERRIBLE_ACTION = "ugh" | ||
|
||
// Public: This one is fine. | ||
// | ||
// Returns a String "great!" | ||
export function fine() { return "great!" } | ||
|
||
export function _undocumented() { return "sneaky!" } |
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