Skip to Content

How to remove "ESLint:(linebreak-style)Expected linebreaks to be 'LF' but found 'CRLF"

Hi Experts!

I am facing this issue on WebIDE that when I open existing projects, the XML and JS files show the following error.

ESLint:(linebreak-style)Expected linebreaks to be 'LF' but found 'CRLF

However, when I create any project, I don't this error in the pages.

Could you please let me know what settings are required to avoid this error and resolve the same in existing projects on WebIde.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 03, 2017 at 07:27 PM

    Hi All,

    I found this solution on the following links

    https://github.com/diegohaz/arc/issues/171

    https://help.hana.ondemand.com/webide/frameset.htm?d092c2fe23744506927a65cda679a0bd.html

    So I went to the code editor setting for this issue and found that the default setting is Auto on Web IDE. I changed it to Unix and the error disappeared.

    Thanks !

    Add comment
    10|10000 characters needed characters exceeded