I think it depends. If you were to give a publisher a manuscript full of grammatical mistakes, you can bet they're going to laugh in your face. Most of the time they have guidelines on the type of FONTS they want to see, let alone basic grammar rules.
But there are definitely exceptions, I remember reading a book that had CAPS LOCK on for when something SHOCKING was happening. It might have been Terry Pratchett, but I'm not sure. Then again, he's Terry Pratchett, so he can get away with it.