title: How to ignore folders with cpplint
body: <p>How do you tell <a href="https://github.com/cpplint/cpplint" rel="nofollow noreferrer">cpplint</a> to ignore folders of a specific name?</p>
  
  <p>I have <code>.build</code> folders that contain auto-generated files, and when I run <code>cpplint --recursive src</code> it traverses these folders and finds a tons of errors I don't care about.</p>
  
  <p>I've tried using the <code>--exclude</code> parameter, like:</p>
  
  <pre><code>cpplint --recursive --exclude=.build src
  </code></pre>
  
  <p>but that has no effect.</p>
  
  <p>I've also tried:</p>
  
  <pre><code>cpplint --recursive --exclude=*/.build src
  </code></pre>
  
  <p>and other variations that use wildcards, but those also have no effect.</p>