barnabycolby / MMM-Carousel

Displays a single magic mirror module at a time, rotating through the list of configured modules in a carousel-like fashion.
98 stars 33 forks source link

JSLint unused variable workaround #1

Open barnabycolby opened 8 years ago

barnabycolby commented 8 years ago

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?

barnabycolby commented 8 years ago

For now, all that can be done is to add a new grunt-jslint project to my projects list.