Added .yml format and wrapped multiple string in curly brackets :)

Have a look to below links:
https://core.trac.wordpress.org/browser/trunk/.editorconfig

https://core.trac.wordpress.org/ticket/28494