Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lib/rules/best-practices/use-natspec.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,6 @@ class UseNatspecChecker extends BaseChecker {
const startOffset = node.range[0]
const comments = getLeadingNatSpecComments(startOffset, this.tokens)

console.log('isPublicLike :>> ', isPublicLike)
console.log('comments.length :>> ', comments.length)
console.log('type :>> ', type)

// check the function is not publicLike and has no tags, avoid checking
// if it is internal or private and has natspec comments, check them
if (!isPublicLike && comments.length === 0 && type === 'function') return
Expand Down
Loading