on 12-03-2017 3:01 AM
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
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 !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked for me. I also had to import the project I was working on again because it does not refresh the projects to replace all CRLF by LF automatically.
You can adjust your project settings by following way if you face similar issue :
Right Click on your Project : Project ->Project Settings ->Git Repository -> add a new entry in GIT Repository pane .in the entry add core.autocrlf = true.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.