From cf638a9b2c79a5077fe418188a19e0726e45f0f0 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 31 Aug 2022 13:33:36 +0200 Subject: Fix eslint run command Only try to fix and check files inside the server repo and not from all the repositories that are contained in apps-extra Remove noice and make sure we don't end up modifying these repos by error Signed-off-by: Carl Schwan --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7454cd2f640..1d4b2cf5f19 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "build": "NODE_ENV=production webpack --progress --config webpack.prod.js", "dev": "NODE_ENV=development webpack --progress --config webpack.dev.js", "watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js", - "lint": "eslint '**/src/**/*.{vue,js}'", - "lint:fix": "eslint '**/src/**/*.{vue,js}' --fix", + "lint": "eslint 'apps/*/src/**/*.{vue,js}' 'core/src/**/*.{vue,js}'", + "lint:fix": "eslint 'apps/*/src/**/*.{vue,js}' 'core/src/**/*.{vue,js}' --fix", "test": "jest", "test:watch": "jest --watch", "test:jsunit": "karma start tests/karma.config.js --single-run", -- cgit v1.2.3