diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 89f03d9d5..818fcbbb0 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -14,8 +14,14 @@ module.exports = (grunt) -> 'spec/stdlib/**/*.coffee' ] + csslint: + options: + 'adjoining-classes': false + 'fallback-colors': false + src: ['themes/**/*.css', 'src/**/*.css'] grunt.loadNpmTasks('grunt-coffeelint') + grunt.loadNpmTasks('grunt-contrib-csslint') - grunt.registerTask('lint', ['coffeelint:src', 'coffeelint:test']) + grunt.registerTask('lint', ['coffeelint:src', 'coffeelint:test', 'csslint:src']) grunt.registerTask('default', 'lint') diff --git a/package.json b/package.json index 4735ec05b..05af5bc66 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,8 @@ "grunt-coffeelint": "0.0.6" }, "devDependencies": { - "biscotto": "0.0.11" + "biscotto": "0.0.11", + "grunt-contrib-csslint": "~0.1.2" }, "private": true, "scripts": {