Skip to content

mneverov/comment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comment

Linter comment reports commented code.

The linter makes best attempt to find commented code and by doing so may skip obvious commented code or report false positives.

Check invalid.go for examples of possible reported comments.

Install

go get github.com/mneverov/comment

Run

comment ./...

Note

It is impossible to differentiate between a valid comment and a commented code.

For example, to clarify a flow the following comment is valid and gives a context:

// this = that

But it is also a valid go code.

The following comment is a URL for a website with some info that describes the following code as well as a valid go label.

// https://bit.ly/2EMXD26

About

comment is a linter that reports commented code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages