This is a followup from my two previous posts on php and js git pre-commit syntax check where I had
  mentioned how to check for php and js syntax independently using
  pre-commit with git.
  
  
  
  But what if we wanted to check for both php and js syntax at same
  time while committing. So, I used the scripts used for both and
  combined them. …
    
                    Showing entries 1 to 2
                
    
            
                    
            Feb
            
        
        
        13
            2016
        
            Feb
            
        
        
        13
            2016
        
  This is a followup article from my previous post.
  
  
  Here we will be using git pre-commit to check for syntax error
  while committing in JavaScript files.
  
  We will need nodejs in our system. Please
  check https://nodejs.org/en/ for downloading and install
  steps.
  
  Note: I am using ubuntu 14.04 for this setup.
  
  Steps to add pre-commit JavaScript syntax check with
  git:
  
  1. Use npm to install jslint package globally in your
  system.
  
   …
    
                    Showing entries 1 to 2