I'm really enjoying linting my JavaScript code with JSHint<http://jshint.com/>, adhering to style and semantics guidelines, and linting my Java code with CheckStyle <http://checkstyle.sourceforge.net/> and Java's -Xlint option. Is there a static analysis tool for Thrift files? I'd like to scan .thrift definition files for code cleanliness, with user specified rules like:
* Limit struct fields to no more than 20 * All fields should be required * All fields should be optional * All .thrift files in the same directory should have the same namespace
