First of all: sexual assault has nothing to do with either Stallman or Linus!
Secondly: their strong leadership brought us an hacker community devoted to the product and correctness of the result, regardless of their personality, as technical leader they excelled and when they went over the line it was for the benefit of the community, never for their ego.
Now we have weaker leadership, attention has moved from being right to being popular, salaries are valued more than technical skills, corporations have infiltrated open source communities changing the meaning of `free` in free software from "free as in free speech" to "free as in free beer" and we ended up with package managers that install trojans or display ads.
If NPM leadership was made by pedantic, ruvid, sometimes assholes, the like of Linus and RMS, this would have never happened.