From ed7be562f78fbba578e7073507c6a4edea681ae5 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sun, 13 Oct 2019 18:35:33 +0200 Subject: [PATCH] fix lint script --- .eslintignore | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index d2db8508cf..2569aef9fe 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,6 +3,8 @@ coverage/ database_reports/ website/build/ website/transpiled-babel/ +# Has its own linter +website/client/ website/common/transpiled-babel/ dist/ dist-client/ diff --git a/package.json b/package.json index b0be98f981..5621c7cfaa 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "npm": "^6" }, "scripts": { - "lint": "eslint --ext .js --fix .", + "lint": "eslint --ext .js --fix . && cd website/client && npm run lint", "test": "npm run lint && gulp test && gulp apidoc", "test:build": "gulp test:prepare:build", "test:api-v3": "gulp test:api-v3",