wader / fq

jq for binary formats - tool, language and decoders for working with binary and text formats
Other
9.53k stars 218 forks source link

chore: fix function name in comment #923

Closed loselarry closed 2 months ago

wader commented 2 months ago

Thanks! i wonder if there is some linter that could detect these but maybe is tricky?

loselarry commented 2 months ago

Thanks!

To my knowledge, there is currently no such linter. I have analyzed the ast and compared them one by one locally. If it is made into a Linter, there will be a lot of false positives, and it also requires a lot of time to correct and confirm

wader commented 2 months ago

Yeap, agree, maybe a linter that for each public function asserts that a doc exist and starts with the function name. Anyway, thanks for the fix!