Skip to content
Permalink
Browse files
csslint
  • Loading branch information
Rudloff committed May 31, 2017
1 parent bbee27c commit 393255180cdf7d5a4fd15e28522827eabcbfa02f
Show file tree
Hide file tree
Showing 3 changed files with 330 additions and 342 deletions.
@@ -101,6 +101,11 @@ module.exports = function (grunt) {
'i18n/zh_CN/LC_MESSAGES/Alltube.mo': 'i18n/zh_CN/LC_MESSAGES/Alltube.po'
}
}
},
csslint: {
css: {
src: 'css/*'
}
}
}
);
@@ -117,9 +122,10 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-jsonlint');
grunt.loadNpmTasks('grunt-fixpack');
grunt.loadNpmTasks('grunt-potomo');
grunt.loadNpmTasks('grunt-contrib-csslint');

grunt.registerTask('default', ['uglify', 'cssmin', 'potomo']);
grunt.registerTask('lint', ['jslint', 'fixpack', 'jsonlint', 'phpcs']);
grunt.registerTask('lint', ['jslint', 'csslint', 'fixpack', 'jsonlint', 'phpcs']);
grunt.registerTask('test', ['phpunit']);
grunt.registerTask('doc', ['phpdocumentor']);
grunt.registerTask('release', ['default', 'githash', 'compress']);

0 comments on commit 3932551

Please sign in to comment.