Having a bit of a problem with JShint and the next line of code.
$location.path('map-' + map.id + '/venue-' + map.attributes.default_venue.value);
I get an error, Identifier 'default_venue' is not in camel case. This will not be a problem normally, but I have no control over the variable name - it was introduced through the JSON API.
Is there a way to suppress this problem for both the affected variables and the lines in which they appear?
Sorry if this was asked before, I'm sure it must have been, but I canโt find a solution.
javascript coding-style jshint code-cleanup
Sam Beckham Oct 18 '13 at 11:20 2013-10-18 11:20
source share