Agree & appreciate it, but without an automatic verification/correction tool I am afraid your effort will be in vain. Perhaps, you should first investigate available tools, like eslint or any other, to help with what you want to achieve here.