Policy Question: Can I Use a Submodule that Does Not Follow Drupal Code Guidelines?
-
07-11-2019 - |
Question
I have a fairly extensive plugin system that I wrote.
It uses an MVVM pattern, where the lions' share of the code is in a cross-CMS class.
I haven't submitted the Drupal plugin to the Drupal repo, because it does not follow their coding conventions.
It has extremely rigorous coding conventions; just not the ones prescribed by Drupal.
Fair enough. They have every right to dictate coding standards. That's a good idea, and I support it.
However, I can't rewrite the MVVM library to make just one of the targets happy.
Since the MVVM library is actually a submodule, can I submit the plugin to the Drupal repository if the Drupal-specific parts (just a couple of files) are set up to use Drupal standards?
For that matter, since Git is so horrible with submodules, I wonder if the Drupal repository can even handle submodules.
No correct solution