title: How to fix "expected a single document in the stream, but found more" error when running yamllint command
body: <p>I need to check yaml file in my local machine by running command </p>
  
  <pre><code>yamllint -d "{extends: relaxed, rules: {line-length: {max: 800}}}" application.yml
  </code></pre>
  
  <p>However it always return error as below: </p>
  
  <pre><code>✖ YAML Lint failed for /Users/Peter/IdeaProjects/configuration/application.yml
  ✖ expected a single document in the stream, but found more
  </code></pre>
  
  <p>My computer is MACOS 10.12.6 
  The content of that file is not a problem, because my friend run the same command and it checked successfully without any problem with file's content. </p>