MMM-Carousel
MMM-Carousel copied to clipboard
JSLint unused variable workaround
In the test.js file I had to add a doNothing
function to workaround an unused variable warning in JSLint. In newer versions of JSLint, this could be fixed by simply renaming the first parameter of the register function to ignore
. Unfortunately, the grunt-jslint task is out of date and looks like its been forgotten about.
Judging by the last commit date (over a year ago) and an issue raised about an update without any response, looks like a pull request would not be worth doing. Instead, the project should be forked and fixed, creating a new npm package. grunt-jslint-better?
For now, all that can be done is to add a new grunt-jslint project to my projects list.