While running my Angular2 application using 'npm start' in the command prompt, I am encountering numerous warnings about 'trailing whitespace'. Is there a single solution to resolve all of them at once? The total number of these warnings is around 2000 and I am looking for a way to fix them efficiently. Any guidance on this issue would be greatly appreciated.