Sublimelinter jshint has been configured in sublime text3 at home, but since the company’s development environment is an intranet environment, it is impossible to access the Internet, so jshint in node does not know how to install it without npm. Please comment! !
I tried it myself. the npm-g jshin command will automatically copy the downloaded jshin files under windows c: \ users \ ×× \ appdata \ roading \ npm, mainly jshin and jshint.cmd and jshin packages under node_modeules. In this way, we just need to copy the three files directly to the same npm path in the new environment.