Answers for "expected linebreaks to be 'LF' but found 'CRLF' eslint error"

0

expected linebreaks to be 'LF' but found 'CRLF' eslint error

/*eslint linebreak-style: ["error", "windows"]*/

var a = 'a', // \r\n
    b = 'b'; // \r\n
// \r\n
function foo(params) { // \r\n
    // do stuff \r\n
} // \r\n
Posted by: Guest on June-16-2021

Code answers related to "expected linebreaks to be 'LF' but found 'CRLF' eslint error"

Code answers related to "Javascript"

Browse Popular Code Answers by Language