• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in JavaScript by
Q:
Validating JS files in Grunt.JS

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

Related questions

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