I don't know exactly how or why, but I lost all my settings.
The only "strange" thing I did was temporarily move the mods to another folder to make the game load faster to do some testing.
I doubt that it is the cause, because I have done it a lot of times, but I don't understand why I lost everything out of nowhere, I had mod configurations from years ago and not a single one had ever been deleted.
forge-1.18.2-40.1.19