Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript CSS linting Grunt task order

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #239656
    peterjharrison
    Participant

    So I’ve not used css liniting before and I have the following grunt tasks which work with no issues. My question relates to what is the recommended order for these tasks??

    I’m struggling to get head around why you would run csscomb against complied css from sass, as your src code would still contain the issues? Is csscomb designed to ‘coverup’ the formatting issues or should I be running the csscomb task before I have complied my sass.

    grunt.registerTask('default', ['concat', 'uglify', 'sass', 'autoprefixer', 'csscomb', 'postcss:lint', 'cssmin']);
    

    Thanks for your advice.

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.