I've searched SO for a comprehensive answer for this question, but I can't seem to find any, so I would appreciate a comprehensive answer on the benefits of linting applications in Typescript and Javascript, or a link for an answer like that.
I've been linting applications since I started writing Typescript code and linting was common sense for me, there's a good feeling attached to writing clean code. However I've stumbled on a Typescript code that is riddled with linting errors and my code editor has errors every couple of lines. Obviously this doesn't feel good but I was wondering why exactly is it recommended to lint JS/TS applications before shipping them, especially since the applications I currently have to work on don't seem to have been ever checked for TS linting errors, and they work without any problems? Is it only because it's clean or does it have any performance or other benefits?