editorconfig: basic EditorConfig configuration
editorconfig: basic EditorConfig configuration

EditorConfig (https://editorconfig.org) is a widely supported
configuration tool that helps to ensure better consistency amongst
developers by auto-configuring an editor to match the original/intended
style i.e. tab-width etc.

This configuration covers many of the common file formats used in
zephyr.

The configuration was derived by looking at existing files and
ascertaining what configuration they currently use.

This is the top-most EditorConfig file meaning this is the root of all
other EditorConfigs, however sub-directories can set their own up if
they wish to override this.

This has proven especially useful when viewing uncrustified C source
code where the tab-width should be 8 to get proper alignment but many
editors use a tab-width of 4.

Lots of editors support this natively and those that do not probably
have a plugin or extension.

Tested by opening and saving various files to ensure no changes
occurred.

Signed-off-by: Carlos Stuart <4ab5a1e66ba3b026677e9a622764fb5cd1361713@gmail.com>

GiulianoFranchetto/zephyr,finikorg/zephyr,nashif/zephyr,Vudentz/zephyr,Vudentz/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,Vudentz/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,Vudentz/zephyr,ldts/zephyr,galak/zephyr,finikorg/zephyr,explora26/zephyr,ldts/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,galak/zephyr,explora26/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,ldts/zephyr,Vudentz/zephyr,galak/zephyr,galak/zephyr,nashif/zephyr,finikorg/zephyr,ldts/zephyr,finikorg/zephyr