mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
24 lines
548 B
JavaScript
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"]);
|
|
};
|