in JavaScript by
Q:
Validating JS files in Grunt.JS

▼ Show 1 Answer

0 votes
by
Validating JS files
Validating JS files

grunt-contrib-jshint task helps to validate JavaScript files with JSHint.

JSHint is a tool that helps to detect errors and potential problems in your JavaScript code. Grunt brings this functionality using this plug-in.

Install the jshint plug-in through below syntax:

$ npm install grunt-contrib-jshint --save-dev
JavaScript
Learn More with Madanswer

Related questions

+1 vote
asked Feb 28, 2020 in JavaScript by miceperry
+1 vote
...