Open Closed

auto generated code using abp suite. #4574


User avatar
0
tahseelit1 created

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)
image.png

List of file changes.
image.png

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)
  • User Avatar
    0
    tahseelit1 created

    ex.
    image.png

  • User Avatar
    0
    muhammedaltug created

    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
    
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10