diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-10-04 07:30:30 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-10-04 07:30:30 +0200 |
commit | 837b29628803154da57f2e5ff4f4f50aada7fa5a (patch) | |
tree | e9123259e8e74d52d8e6c31e369bb7d128ab7c73 /package.json | |
parent | cf6e9a19c49b3aa5529ead275e0aeb2be902ab20 (diff) | |
download | nextcloud-server-837b29628803154da57f2e5ff4f4f50aada7fa5a.tar.gz nextcloud-server-837b29628803154da57f2e5ff4f4f50aada7fa5a.zip |
chore: Do not lint external apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index e6094039877..b7f12fb88c5 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", |