Yea I honestly don’t understand why many devs use a mac to develop software for linux. Sure if you are developing native OSX or iOS software it makes sense, but why torment yourself otherwise?
The main pain point with running linux on a laptop is finding a suitable pairing of the hardware and software so that everything works (device driver support, no bios/uefi/acpi bugs, etc).
Finding some good hardware to run linux only has to be done once maybe every 3-4 years and them you can just carbon copy the setup for all of your devs.
Heck, I will save you some work: the dell XPS 13 works great with the latest stable release of Ubuntu.
Does everything work? Special keys on the keyboard? GPU acceleration? Wifi? Going to sleep when you close the lid? Everything "just works" when you reopen the lid? Gestures on the trackpad?