Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
<p>When using eslint in the gulp project i have encountered a problem with error like this<br>
<code>Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style</code> and I am using Windows environment for the running gulp and the entire error log is given below</p>

<pre><code> Kiran (master *) Lesson 4 $ gulp
 Using gulpfile c:\Users\Sai\Desktop\web-build-tools\4\
 gulpfile.js
 Starting 'styles'...
 Finished 'styles' after 17 ms
 Starting 'lint'...
 'lint' errored after 1.14 s
 ESLintError in plugin 'gulp-eslint'
 sage: Expected linebreaks to be 'LF' but found 'CRLF'.
 ails: fileName: c:\Users\Sai\Desktop\web-build-tools\4\js\extra.js



$&gt;Users\Sai\Desktop\web-build-tools\4\js\extra.js
error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
</code></pre>

<p>I have also including <strong>extra.js</strong> file as the error indicating possible mistake.</p>

<pre><code>function getWindowHeight() {
    return window.innerHeight;
}

getWindowHeight();
</code></pre>