Just to make it more clear, this code is working fine if you install it manually from Zip but not passing the Marketplace validation in technical review with same message like Magento EQP tool described above.
So what is it the way (recommended) of using Config values, that will be used in custom JS file which will be on every FE page?
Even if we use requires js or something to load custom JS file, how to add/pass php config values from Magento Admin (DB)?
Cmon folks it has to be some way this is the basic functionality...