Replace grunt-yamllint with yaml-lint

This commit is contained in:
rejas 2020-03-18 22:56:17 +01:00
parent fc624359c5
commit 18989d593a
2 changed files with 5 additions and 10 deletions

View File

@ -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"]);
}; };

View File

@ -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"