Skip to content

Commit

Permalink
chore: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Nov 7, 2024
1 parent 7a189a9 commit 6d8ba64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1104,11 +1104,11 @@ function inferTypeFromDefaultValue(defaultValue: string): string {
/**
* Check if a line is a JSDoc comment
*/
function isJSDocComment(line: string): boolean {
const trimmed = line.trim()
const isJsDoc = trimmed.startsWith('/**') || trimmed.startsWith('*') || trimmed.startsWith('*/')
return isJsDoc
}
// function isJSDocComment(line: string): boolean {
// const trimmed = line.trim()
// const isJsDoc = trimmed.startsWith('/**') || trimmed.startsWith('*') || trimmed.startsWith('*/')
// return isJsDoc
// }

function isDefaultExport(line: string): boolean {
// Handle both inline and multi-line default exports
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
"exclude": [
"**/fixtures",
"**/dist"
],
]
}

0 comments on commit 6d8ba64

Please # to comment.