Skip to Content
0

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

Dec 03, 2017 at 03:01 AM

1.9k

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Anusha Saxena Dec 03, 2017 at 07:27 PM
1

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 !

Share
10 |10000 characters needed characters left characters exceeded