Closed ascandella closed 7 years ago
ThriftRW doesn't currently make much of an effort to generate linter friendly code. You should omit generated code from your linter.
Sure, we could mark this as low priority, but it's technically feasible to do this correctly, right?
Yeah, it's technically feasible. It requires a little work in the code- templating system.
Note that the linter will still complain about missing docs until we start parsing the documentation for structs, etc. out of the Thrift file.
The YARPC-plugin-generated code is special in that it generates these default comments so your linter doesn't complain about that.