The comments in code: Go doc comments, Javadoc, and KDoc conventions, plus owned TODOs and no commented-out code in any language Vale extracts comments from.
Add it to your .vale.ini, then run vale sync.
Packages = Comments
[*.md]
BasedOnStyles = Vale, Comments The name installs the latest release each time vale sync runs. To stay on v0.1.0, the release this page describes, give its URL instead:
Packages = https://github.com/jdkato/comments/releases/download/v0.1.0/Comments.zip Commented-out code. Delete it; version control remembers.
Mark deprecation with a 'Deprecated: ' paragraph, which the tools read.
'%s' says nothing. Describe it, or drop the tag.
'%s' says nothing. Describe it, or drop the tag.
Use 'TODO(name):' instead of '%s', so the note is collected with the rest.
A package comment reads 'Package name ...'.
A doc comment is a complete sentence: end it with a period.
The first sentence is the summary the tools show; end it with a period.
The first sentence is the summary the tools show; end it with a period.
Order the tags @param, @return, then @throws.
Say what it does, not '%s'.
Start with the name it documents, not '%s'.
Say what it does, not '%s'.
'%s' names no owner. Write TODO(name): or TODO(#issue): so it can be followed up.