ENH: add an editorconfig file for IDE code formatting
Summary
Add a generic editor config file to OTB sources to facilitate IDE code formatting. editorconfig is a generic tool with plugins for a number of IDEs.
See http://editorconfig.org/#overview
Rationale
It should facilitate code formatting of otb sources. I've tested the emacs plugin which works well.
Implementation Details
Classes and files
Give an overview of the implementation: main changes made to classes, files and modules. Do not paste complete diff, as it is available in the merge request already.
Applications
Describe any changes made to existing applications, or new applications that have been added.
Tests
Describe the testing strategy for new features.
Documentation
List or link documentation modifications that were made (doxygen, example, Software Guide, application documentation, CookBook).
Additional notes
List remaining open issues if any, and additional notes.
Copyright
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement