mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-30 13:09:34 +00:00
24 lines
491 B
JavaScript
24 lines
491 B
JavaScript
module.exports = function(grunt) {
|
|
require("time-grunt")(grunt);
|
|
grunt.initConfig({
|
|
pkg: grunt.file.readJSON("package.json"),
|
|
jsonlint: {
|
|
main: {
|
|
src: [
|
|
"package.json",
|
|
".eslintrc.json",
|
|
".stylelintrc.json",
|
|
"translations/*.json",
|
|
"modules/default/*/translations/*.json",
|
|
"vendor/package.json"
|
|
],
|
|
options: {
|
|
reporter: "jshint"
|
|
}
|
|
}
|
|
}
|
|
});
|
|
grunt.loadNpmTasks("grunt-jsonlint");
|
|
grunt.registerTask("default", ["jsonlint"]);
|
|
};
|