mozilla/addons-linter

Introduce a --enterprise flag

willdurand opened this issue · 1 comments

When the linter is used with --enterprise, we should not report an error except if the manifest contains the bss.gecko.admin_install_only prop set to false OR if that prop is in applications.gecko (instead of bss). Without the --enterprise flag, we should basically have the behavior described in #5330.

Without --enterprise I get the results from #5330

--enterprise flag + bss.gecko.admin_install_only set to false I get the error
--enterprise flag + bss.gecko.admin_install_only set to true , no errors, addon passed validation

--enterprise flag + prop is in applications.gecko with true or false, I get the error

error for application json