diff --git a/config/jshint.yml b/config/jshint.yml index e424b255e36..2b9bda7ac25 100644 --- a/config/jshint.yml +++ b/config/jshint.yml @@ -86,6 +86,7 @@ predef: - count - exists - asyncTestDiscourse + - fixture - find - sinon - controllerFor diff --git a/test/javascripts/jshint_all.js.erb b/test/javascripts/jshint_all.js.erb index b7a55e78a63..153a71649d9 100644 --- a/test/javascripts/jshint_all.js.erb +++ b/test/javascripts/jshint_all.js.erb @@ -114,6 +114,7 @@ var jsHintOpts = { "count", "exists", "asyncTestDiscourse", + "fixture", "find", "sinon", "moment",