From 9a41869efe7ab363c323615da536d70eee40c93b Mon Sep 17 00:00:00 2001 From: Andries Smit Date: Thu, 21 Apr 2016 14:22:34 +0200 Subject: [PATCH] added css lint --- generators/app/templates/Gruntfile.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/generators/app/templates/Gruntfile.js b/generators/app/templates/Gruntfile.js index 6595559..9ac68a8 100644 --- a/generators/app/templates/Gruntfile.js +++ b/generators/app/templates/Gruntfile.js @@ -93,6 +93,14 @@ module.exports = function (grunt) { build: [ path.join(shelljs.pwd(), "dist", pkg.name, "/*") ] + }, + csslint: { + strict: { + options: { + import: 2 + }, + src: ["src/" + pkg.name + "/widget/ui/*.css"] + } } }); @@ -101,6 +109,7 @@ module.exports = function (grunt) { grunt.loadNpmTasks("grunt-contrib-watch"); grunt.loadNpmTasks("grunt-contrib-copy"); grunt.loadNpmTasks("grunt-newer"); + grunt.loadNpmTasks("grunt-contrib-csslint"); grunt.registerTask("start-modeler", function () { var done = this.async();