From a7803353f03528042f15ade30462b88cb8b2ddc6 Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Thu, 24 Oct 2019 00:21:45 -0400 Subject: Added lint-md linter for markdown --- package.json | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 7e5f58b09..e9e0461b3 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,18 @@ { - "name": "gvisor-website", - "version": "0.0.0", - "devDependencies": { - "autoprefixer": "^9.4.7", - "postcss-cli": "^6.1.1" - } + "name": "gvisor-website", + "version": "0.0.0", + "devDependencies": { + "autoprefixer": "^9.4.7", + "postcss-cli": "^6.1.1", + "remark-cli": "^7.0.0", + "remark-preset-lint-recommended": "^3.0.3" + }, + "scripts": { + "lint-md": "remark ./content -f" + }, + "remarkConfig": { + "plugins": [ + "remark-preset-lint-recommended" + ] + } } -- cgit v1.2.3