]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - Gruntfile.js
Improved side menu, reduced the font size on small screens, fixed a form to add links...
[github/wallabag/wallabag.git] / Gruntfile.js
index a19f294080139e248619c2141faf8340ecd994d7..b80ab56d554bca0d6c5b1efb24b15541560ec7ef 100644 (file)
@@ -198,6 +198,13 @@ module.exports = function (grunt) {
         src: ['./<%= releaseDir %>/*'],
       }
     },
+    eslint: {
+      target: ['<%= appDir %>/themes/material/js/init.js', '<%= appDir %>/themes/baggy/js/init.js']
+    },
+    stylelint: {
+      target: ['<%= appDir %>/themes/material/css/*.css', '<%= appDir %>/themes/baggy/css/*.css']
+    }
+
   });
 
   grunt.registerTask(
@@ -223,4 +230,10 @@ module.exports = function (grunt) {
     'Compiles the stylesheets.',
     ['clean:css', 'concat:cssMaterial', 'concat:cssBaggy', 'postcss']
   );
+
+  grunt.registerTask(
+      'tests',
+      'Test css and js style conformity',
+      ['eslint', 'stylelint', 'default']
+  )
 };