How to auto fix errors with grunt eslint?

In your gruntfile, you’ll have to add { fix: true }

eslint: { 
    options: { 
        fix: true 
    } 
}


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *