mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 20:22:53 +00:00
Replace grunt-yamllint with yaml-lint
This commit is contained in:
parent
fc624359c5
commit
18989d593a
@ -89,18 +89,12 @@ module.exports = function(grunt) {
|
|||||||
"!modules/default/calendar/vendor/ical.js/readme.md"
|
"!modules/default/calendar/vendor/ical.js/readme.md"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
|
||||||
yamllint: {
|
|
||||||
all: [
|
|
||||||
".travis.yml"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
grunt.loadNpmTasks("grunt-eslint");
|
grunt.loadNpmTasks("grunt-eslint");
|
||||||
grunt.loadNpmTasks("grunt-stylelint");
|
grunt.loadNpmTasks("grunt-stylelint");
|
||||||
grunt.loadNpmTasks("grunt-jsonlint");
|
grunt.loadNpmTasks("grunt-jsonlint");
|
||||||
grunt.loadNpmTasks("grunt-yamllint");
|
|
||||||
grunt.loadNpmTasks("grunt-markdownlint");
|
grunt.loadNpmTasks("grunt-markdownlint");
|
||||||
|
|
||||||
grunt.registerTask("default", ["eslint", "stylelint", "jsonlint", "markdownlint", "yamllint"]);
|
grunt.registerTask("default", ["eslint", "stylelint", "jsonlint", "markdownlint"]);
|
||||||
};
|
};
|
||||||
|
@ -14,7 +14,8 @@
|
|||||||
"test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive",
|
"test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive",
|
||||||
"test:lint": "grunt --env=test",
|
"test:lint": "grunt --env=test",
|
||||||
"config:check": "node tests/configs/check_config.js",
|
"config:check": "node tests/configs/check_config.js",
|
||||||
"lint": "grunt --env=lint"
|
"lint": "grunt --env=lint",
|
||||||
|
"lint:yaml": "yamllint .travis.yml"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -45,7 +46,6 @@
|
|||||||
"grunt-jsonlint": "latest",
|
"grunt-jsonlint": "latest",
|
||||||
"grunt-markdownlint": "latest",
|
"grunt-markdownlint": "latest",
|
||||||
"grunt-stylelint": "latest",
|
"grunt-stylelint": "latest",
|
||||||
"grunt-yamllint": "latest",
|
|
||||||
"http-auth": "^3.2.3",
|
"http-auth": "^3.2.3",
|
||||||
"jsdom": "^11.6.2",
|
"jsdom": "^11.6.2",
|
||||||
"mocha": "^7.0.0",
|
"mocha": "^7.0.0",
|
||||||
@ -54,7 +54,8 @@
|
|||||||
"spectron": "^8.0.0",
|
"spectron": "^8.0.0",
|
||||||
"stylelint": "latest",
|
"stylelint": "latest",
|
||||||
"stylelint-config-standard": "latest",
|
"stylelint-config-standard": "latest",
|
||||||
"time-grunt": "latest"
|
"time-grunt": "latest",
|
||||||
|
"yaml-lint": "^1.2.4"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"electron": "^6.1.7"
|
"electron": "^6.1.7"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user