I remember someone mentioning a system that operated with ASTs like this in the 70s or 80s. One of the affordances is that the source base did not require a linter. Everyone reading the code can have it formatted the way they like, and it would all still work with other people’s code.
It seems like that could be done in the editor if you auto-reformat on load and save. (Assuming there's an agreed-on canonical format.)