WebTemplateStudio icon indicating copy to clipboard operation
WebTemplateStudio copied to clipboard

Lint errors on newly generated RN App: Line ending change during merging post-action with original file.

Open prupipho opened this issue 3 years ago • 0 comments

Describe the bug When creating a react native app we are getting lint errors on the newly generated app due to a change on the Line Ending while the Core merge files. Issue created to solve this.

To Reproduce Steps to reproduce the behavior:

  1. Open Web Template Studio (Ctrl + Shift + P: Web Template Studio: Create React Native App)
  2. Create a React Native application with one Blank Page for example.
  3. Create a second React Native application with one Blank Page and a Settings Page. Just need to make sure that there´s a post-action in any .tsx file
  4. If you run yarn lint you will see some errors. If you check the line ending on the bottom right of vscode you will notice that in the first project is the expected one LF, but in the second application, it would be CRLF instead.

Expected behavior All files should have LF ending so lint passes successfully.

Screenshots This is the bottom-right part of vscode where you will spot the difference image

prupipho avatar Apr 07 '21 05:04 prupipho