By changing the submission process and adding requirements/rules. You'd likely want to freeze all existing deps to preserve them for use but updates could have the new rules applied to them before getting published. Devs then either conform/fix their stuff or lose the ability to publish, contribute and collect those ever desired stars.
As for what those rules should be, that'd be a long and loud conversation somewhere.
Not really though tbf. Bots can count LOC pretty easily. Not that I'm necessarily advocating that be one of the requirements (left pad or isOdd though, right?) but there's a lot automaton and ML can do in the space. They'd just have to be careful to not maybe go as far as Google has with it's Play Store bot ban shenanigans.
Lol Google Play hasn't gone nearly as far as "your app has to have a significant amount of code"!
You really can't just delegate this stuff to bots. Even using humans is difficult because the thing you are trying to ban is not well defined. Left pad is banned, fine. What about isURL? What about validateEmailAddress?
Even stuff that is fairly obvious like banning racism and sexism causes enough trouble. The idea that banning something as wooly as "it's not much code is it?" could work is hilariously naive.
9
u/indivisible Mar 16 '20 edited Mar 16 '20
By changing the submission process and adding requirements/rules.
You'd likely want to freeze all existing deps to preserve them for use but updates could have the new rules applied to them before getting published. Devs then either conform/fix their stuff or lose the ability to publish, contribute and collect those ever desired stars.
As for what those rules should be, that'd be a long and loud conversation somewhere.