Add initial csslint task

This commit is contained in:
Kevin Sawicki 2013-05-29 12:13:47 -07:00
parent 36e41ecae6
commit fe7f36ad7f
2 changed files with 9 additions and 2 deletions

View File

@ -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')

View File

@ -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": {