I'm trying to replace grunt-scss-lint (because of its Ruby dependency and silent failure when you don't have the gem installed) with stylelint.
The problem I'm running into is the following error:
$ grunt
Loading "Gruntfile.js" tasks...ERROR
>> ReferenceError: Map is not defined
I assume this is because stylelint (which is a PostCSS plugin, not a Grunt plugin) requires ES6.
Here's the code that's throwing the Map is not defined
error.
Is there any way to get this to work where I can just run grunt
and not some weird workaround like this?