From bb98d20637cbf1d524ebb2973e308773006e3153 Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Sun, 24 May 2020 17:59:36 +0100 Subject: [PATCH] one command to lint everything "npm run lint" --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d6be338c..f0f60a07 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,10 @@ "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", + "test:unit": "vue-cli-service test:unit", + "lint": "npm run lint:vue && npm run lint:yaml && npm run lint:md && npm run lint:md:relative-urls && npm run lint:md:consistency", "lint:vue": "vue-cli-service lint --no-fix", "lint:yaml": "yamllint **/*.yaml --ignore=node_modules/**/*.yaml", - "test:unit": "vue-cli-service test:unit", "lint:md": "markdownlint **/*.md --ignore node_modules", "lint:md:relative-urls": "remark . --frail --use remark-validate-links", "lint:md:consistency": "remark . --frail --use remark-preset-lint-consistent"