A federal judge has sided with Oak Park, Illinois, in a closely watched fight over whether local governments can require new buildings to be all-electric. The ruling is a significant win for communities seeking to cut pollution from buildings and avoid locking in decades of new fossil gas use. It also represents a loss for the gas industry, which will seemingly oppose any regulation at the expense of the habitability of our planet. What happened…