I have a web application that has a dependency on an external module to validate a JSON schema. The web application has a Git repository inside which the module is included as a submodule of Git.
In a web project, I have editorconfigto standardize the syntax. For this (since I am using Sublime text), I am using editorconfig-sublime .
The module is supported by another team, and they have their own coding style. Sometimes I help them.
The problem that I am facing is that when I add the code to the web folder in the module, my coding style runs into them, since I have my own .editorconfigfile. They are not currently using editorconfig.
My question is:
Is it possible, and if so, to use one .editorconfigin the base Git repository and one .editorconfigin the Git submodule? What is the best practice here?
source
share