From fa267abacf83c2cd1aea23649c29405b53e2d941 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 25 Apr 2024 09:16:59 +0200 Subject: [PATCH] Fix `npm run lint` by ignoring `*.md` files in `data` Usually prettier can switch automatically to check Markdown and format it. However, this prettier config forces the JSON formatter for all files. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c15c0250..1a51f74a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "license": "ISC", "main": "build.js", "scripts": { - "lint": "prettier --check data", + "lint": "prettier --check 'data/**/!(*.md)'", "lint:fix": "prettier --write data", "build": "node scripts/build.js", "dist": "node scripts/dist.js",