From f2c3a2e36034e95c1305981ace50267d00863862 Mon Sep 17 00:00:00 2001 From: Andreas Lind Date: Thu, 2 Apr 2020 22:50:44 +0200 Subject: [PATCH] Also use prettier for .md --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index eb93aa1..ee120d7 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "scripts": { "docker:build": "docker build -t express-processimage-dev .", "docker": "docker run --rm -it -v \"$(pwd):/home/nvm/express-processimage\" express-processimage-dev", - "lint": "eslint . && prettier --check '**/*.js'", + "lint": "eslint . && prettier --check '**/*.{js,md}'", "test": "mocha", "ci": "npm run coverage && npm run lint", "coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- npm test && echo google-chrome coverage/lcov-report/index.html"