I work on a multi-language software codebase (python, JS, java, PHP, C) where my previous colleagues commented everything. However, the vast majority of comments is completely unuseful. Ex :
/**
* Get warning file info
*/
function getWarningFileInfos() {
...
}
/**
* Compute the speed
*/
function computeSpeed() {
...
}
I want to setup linter rules to make sure such comments are not written again. Do you know linters that have such feature, or in which this feature can be added easily ? (the best would be linters compatible with non-english language comments)
from Are there PHP linter rules to prevent obvious comments?
No comments:
Post a Comment