aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-08-31 13:33:36 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-08-31 13:33:36 +0200
commitcf638a9b2c79a5077fe418188a19e0726e45f0f0 (patch)
treef73eaeeceb81b52cefd8c7c221bb8c748473a7e6 /package.json
parent809f448ef7ee58980c56bb70a48495efd1f26894 (diff)
downloadnextcloud-server-cf638a9b2c79a5077fe418188a19e0726e45f0f0.tar.gz
nextcloud-server-cf638a9b2c79a5077fe418188a19e0726e45f0f0.zip
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 <carl@carlschwan.eu>
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files 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",