About envato js standards.

Hello, my javascript code does not give any errors in JSHint, but when I shrink the code, it reveals errors, what should I do, it is logical to reduce it but envato does not want an error in JSHint, can you guide me?