MMM-Carousel icon indicating copy to clipboard operation
MMM-Carousel copied to clipboard

JSLint unused variable workaround

Open barnabycolby opened this issue 8 years ago • 1 comments

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 avatar Aug 18 '16 07:08 barnabycolby

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

barnabycolby avatar Aug 21 '16 10:08 barnabycolby