mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-28 00:52:29 +03:00
Add initial csslint task
This commit is contained in:
parent
36e41ecae6
commit
fe7f36ad7f
@ -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')
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user