In pgAdmin4 codebase, the coding styles at many places is inconsistent, in some files standard coding conventions are followed and in some not.
It is difficult to take care of 'tabs', 'spaces', 'trailing white-spaces', 'max_line_length' while development.
So adding .editorconfig to pgAdmin4 will make development easier and will help in faster patch review.
Added a `.editorconfig` file where all coding styles followed in pgAdmin4 are added, and most of editors/IDE reads this file and follows the rules while development.
For PyCharm editor, there is no additional configuration or settings required. it reads .editorconfig.
For Vim editor - developer has to install plugin available.