-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lint): Identify explicit tags that don't match inference in lint…
… stage This will flag cases where people explicitly document things in JSDoc that don't reflect the code reality - in many cases, misnamed parameter names in documentation tags. Fixes #575
- Loading branch information
Showing
14 changed files
with
135 additions
and
96 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
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
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 |
---|---|---|
@@ -1,12 +1,17 @@ | ||
2:1 warning type String found, string is standard | ||
2:1 warning An explicit parameter named foo was specified but didn't match inferred information a, b | ||
3:1 warning type Number found, number is standard | ||
3:1 warning An explicit parameter named foo was specified but didn't match inferred information a, b | ||
4:1 warning type Number found, number is standard | ||
4:1 warning An explicit parameter named foo was specified but didn't match inferred information a, b | ||
5:1 warning type Number found, number is standard | ||
6:1 warning type object found, Object is standard | ||
5:1 warning An explicit parameter named foo was specified but didn't match inferred information a, b | ||
6:1 warning An explicit parameter named boolean was specified but didn't match inferred information a, b | ||
7:1 warning type object found, Object is standard | ||
8:1 warning @memberof reference to notfound not found | ||
11:1 warning could not determine @name for hierarchy | ||
12:1 warning type String found, string is standard | ||
8:1 warning type object found, Object is standard | ||
9:1 warning @memberof reference to notfound not found | ||
13:1 warning type String found, string is standard | ||
13:1 warning An explicit parameter named baz was specified but didn't match inferred information a, b | ||
14:1 warning type String found, string is standard | ||
19:1 warning An explicit parameter named c was specified but didn't match inferred information a, b | ||
|
||
⚠ 11 warnings | ||
⚠ 16 warnings |
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
Oops, something went wrong.