❔ Suppress Visual Studio IDE0270 style rule without adding '.editorconfig'
You could also try this ... create the editorconfig file and put it in the folder C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE.... or similar??? just a thought