title: How can I write a ESLint rule for "linebreak-style", changing depending on Windows or Unix?
body: <p>As we all know, the linebreaks (new line) used in Windows are usually carriage returns (CR) followed by a line feed (LF) i.e. (CRLF) whereas, Linux and Unix use a simple line feed (LF)</p>
  
  <p>Now, in my case, my build server uses supports Linux and Unix format so, below rule is working perfectly on build server:</p>
  
  <pre><code>linebreak-style: ["error", "unix"]
  </code></pre>
  
  <p>But I am doing development on Windows and I need to update rule on each <em>git pull/git push</em> as below,</p>
  
  <pre><code>linebreak-style: ["error", "windows"]
  </code></pre>
  
  <p>So, is there any way to write a generic <em>linebreak-style</em> rule to support both environments, Linux/Unix and Windows?</p>
  
  <p><strong>Note</strong>: I am using ECMAScript6[js], WebStorm[ide] for development</p>
  
  <p>Any solutions/suggestions would be highly appreciated. Thanks! </p>