Skip to content Skip to sidebar Skip to footer
Showing posts with the label Jslint

Is There A Way I Can Make Jslint Work With Curly Braces On The Next Line Of My Javascript?

I changed my coding style from function getParams(entity) { 'use strict'; var acco… Read more Is There A Way I Can Make Jslint Work With Curly Braces On The Next Line Of My Javascript?

Empty Functions In Javascript

If I have something like this: var blah = function() { }; and then later in code blah is being use… Read more Empty Functions In Javascript

How To Eliminate Error: "implied Eval Is Evil"

I'm trying to make my code JavaScript 'strict', so I'm running it through JSLint to… Read more How To Eliminate Error: "implied Eval Is Evil"

Unexpected 'continue'

I have: while (i Solution 1: From the JSLint docs : continue Statement Avoid use of the continue … Read more Unexpected 'continue'

How To Tell Jslint / Jshint What Global Variables Are Already Defined

In my project we have some global variables that work as containers: MyProject.MyFreature.someFunct… Read more How To Tell Jslint / Jshint What Global Variables Are Already Defined