Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
Fixes https://github.com/microsoft/vscode/issues/100238
This is not well supported at the moment since we need some new APIs for working with untitled custom editors, how the current example shows how it can be implemented