JSLint validation for Javascript with JQuery
问题 I am using JavaScript patterns with JQuery. I want JSLint to validate my code with maximum code quality. I have below screen shot for JSLint option to enable. Someone tell me what option should I check when coding JavaScript with JQuery. Please 回答1: Check the assume a browser checkbox and on the Predefined section, type jQuery and $ . 来源: https://stackoverflow.com/questions/10557583/jslint-validation-for-javascript-with-jquery