Sto cercando di sostituire grunt-scss-lint (a causa della sua dipendenza da Ruby e l'errore non presidiato quando non hai installato la gemma) con stylelint.Come usare la stylelint con Grunt?
Il problema che sto funzionando in è il seguente errore:
$ grunt
Loading "Gruntfile.js" tasks...ERROR
>> ReferenceError: Map is not defined
Presumo che ciò è dovuto al fatto stylelint (che è un plugin PostCSS, non un plugin Grunt) richiede ES6.
Here's the code that's throwing the Map is not defined
error.
Esiste un modo per ottenere questo a lavorare dove posso solo correre grunt
e non qualche strano soluzione like this?
Mi rendo conto che lo stylelint richiede tutta la nuova hotness, ma non so ancora come farlo funzionare con Grunt. https://github.com/stylelint/stylelint#requirements –
Puoi condividere il tuo gruntfile.js per favore? Sto facendo fatica ad agganciare grunt + stylelint + sass –