MagicMirror/Gruntfile.js
Nicholas Hubbard a90f2cb156 Clean Up the Contributing Documentation and Process: Part III
* Remove PostCSS from Grunt.
* Add StyleLint to Grunt.
2016-09-08 15:17:20 -04:00

24 lines
548 B
JavaScript

module.exports = function(grunt) {
require("time-grunt")(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
eslint: {
options: {
configFile: ".eslintrc.json"
},
target: ["js/*.js", "modules/default/*.js", "serveronly/*.js", "*.js"]
},
stylelint: {
simple: {
options: {
configFile: ".stylelintrc"
},
src: "**/**/**/**/**/**/**/**/*.css"
}
}
});
grunt.loadNpmTasks("grunt-eslint");
grunt.loadNpmTasks("grunt-stylelint");
grunt.registerTask("default", ["eslint", "stylelint"]);
};