Sort:  

I just posted examples and what GitHub or your IDE does automatically is irrelevant. It is still your responsibility to not violate license agreements. It's as simply as that.