fullscale / elastic.js

A JavaScript implementation of the elasticsearch Query DSL
http://docs.fullscale.co/elasticjs/
MIT License
654 stars 163 forks source link

grunt reports "Use the function form of "use strict"." #33

Closed synhershko closed 10 years ago

synhershko commented 11 years ago

When using the elastic.js angular client with ng-boilerplate grunt reports this warning

I solved it by simply adding /jslint node: true / before 'use strict';

mattweber commented 10 years ago

What version of grunt are you using? I am using the following versions and don't experience any warnings.

grunt@0.4.1 grunt-contrib-jshint@0.5.4

synhershko commented 10 years ago

grunt -version outputs grunt-cli v0.1.9. I think I used npm to install this on my Mint machine.

mattweber commented 10 years ago

Unable to reproduce. Please use latest versions of grunt. You can use npm install to get all the recommended versions.