@task
def jshint(ctx):
 js_folder = os.path.join(HERE, 'website', 'static', 'js')
 cmd = 'jshint {}'.format(js_folder)
 ctx.run(cmd, echo=True)

@ task def jshint ( ctx ) : js_folder = os . path . join ( HERE , 'website' , 'static' , 'js' ) cmd = 'jshint {}' . format ( js_folder ) ctx . run ( cmd , echo = True )
run jshint syntax check .