From 837b29628803154da57f2e5ff4f4f50aada7fa5a Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 4 Oct 2023 07:30:30 +0200 Subject: [PATCH] chore: Do not lint external apps Signed-off-by: Christoph Wurst --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e6094039877d8..b7f12fb88c5d8 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "postbuild": "npm run sass && npm run sass:icons", "dev": "webpack --node-env development --progress", "watch": "webpack --node-env development --progress --watch", - "lint": "eslint apps core", - "lint:fix": "eslint apps core --fix", + "lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo -n \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern", + "lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then echo -n \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage",