Having a bit of an issue with JShint and the following line of code.
$location.path('map-' + map.id + '/venue-' + map.attributes.default_venue.value);
I'm getting the error, Identifier 'default_venue' is not in camel case.
This wouldn't be a problem normally but I don't have any control over the variable name - it's brought in via a JSON API.
Is there any way I could suppress this issue for either the affected variables or on the lines in which they appear?
Apologies if this has been asked before, I'm pretty sure it must have been but I can't find a solution.