Lint errors on newly generated RN App: Line ending change during merging post-action with original file.
prupipho opened this issue · 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:
- Open Web Template Studio (Ctrl + Shift + P: Web Template Studio: Create React Native App)
- Create a React Native application with one Blank Page for example.
- 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
- 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