Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(
require-jsdoc
): allow additional contexts to block preceeding e…
…xport and find jsdoc Adds fixes for TSTypeAliasDeclaration and TSEnumDeclaration similar to the recent changes to support TSInterfaceDeclaration. Adding these additional types to the switch statement pushed function complexity over 20, so getJSDocComment was split into two functions.
- Loading branch information
Showing
3 changed files
with
193 additions
and
39 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