when using ABP suite to autogenerate the API and frontend (angular) the source control (git) display all the changes even I did not touch those file. this is very frustrating because I need manually (one by one) disregard all those file.
Is there another work around to fixed this issue?
Generate only one entity (merchant)
Regards
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
- ABP Framework version: vX.X.X
- UI type: Angular / MVC / Blazor
- DB provider: EF Core / MongoDB
- Tiered (MVC) or Identity Server Separated (Angular): yes / no
- Exception message and stack trace:
- Steps to reproduce the issue:"
2 Answer(s)
-
0
-
0
Hello,
These changes probably relate to the EOL difference (files' line break change LF to CRLF).
You can roll back these differences with a lint fix.
Add the following rule to your .eslintrc.json
{ //...other properties "overrides" :[ { "files": [ "*.ts" ], //...other props "rules": { //...other rules "linebreak-style": ["error", "unix"] ] } }, ] }
Run the command below after adding the rule
ng lint --fix