aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-06-25 00:00:31 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-07-09 17:13:30 +0200
commit691f570237e26398aa22f40c0efca23141d5583e (patch)
tree4409270ac8ee482ad03f745f77003c726ffbf09f /package.json
parent3a97dbf248b3e581b5782a638743958eb6f2a640 (diff)
downloadnextcloud-server-691f570237e26398aa22f40c0efca23141d5583e.tar.gz
nextcloud-server-691f570237e26398aa22f40c0efca23141d5583e.zip
chore: Enable ESLint for apps and fix all errors
Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'package.json')
-rw-r--r--package.json22
1 files changed, 11 insertions, 11 deletions
diff --git a/package.json b/package.json
index 94492f06a8e..8139cea9a85 100644
--- a/package.json
+++ b/package.json
@@ -13,8 +13,8 @@
"postbuild": "build/npm-post-build.sh",
"dev": "webpack --node-env development --progress",
"watch": "webpack --node-env development --progress --watch",
- "lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"$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 printf \"$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix",
+ "lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"apps/$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 printf \"apps/$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
@@ -56,7 +56,7 @@
"@nextcloud/password-confirmation": "^5.1.1",
"@nextcloud/paths": "^2.1.0",
"@nextcloud/router": "^3.0.0",
- "@nextcloud/sharing": "^0.1.0",
+ "@nextcloud/sharing": "^0.2.2",
"@nextcloud/upload": "^1.4.1",
"@nextcloud/vue": "^8.14.0",
"@simplewebauthn/browser": "^10.0.0",
@@ -116,18 +116,18 @@
"webdav": "^5.6.0"
},
"devDependencies": {
- "@babel/node": "^7.22.10",
- "@babel/preset-typescript": "^7.24.1",
- "@cypress/vue2": "^2.1.0",
- "@cypress/webpack-preprocessor": "^6.0.1",
+ "@babel/node": "^7.24.7",
+ "@babel/preset-typescript": "^7.24.7",
+ "@cypress/vue2": "^2.1.1",
+ "@cypress/webpack-preprocessor": "^6.0.2",
"@jest/globals": "^29.7.0",
- "@nextcloud/babel-config": "^1.0.0",
+ "@nextcloud/babel-config": "^1.2.0",
"@nextcloud/cypress": "^1.0.0-beta.8",
- "@nextcloud/eslint-config": "^v8.4.1",
+ "@nextcloud/eslint-config": "^8.4.1",
"@nextcloud/stylelint-config": "^3.0.1",
- "@nextcloud/typings": "^1.8.0",
+ "@nextcloud/typings": "^1.9.1",
"@nextcloud/webpack-vue-config": "^6.0.1",
- "@pinia/testing": "^0.1.2",
+ "@pinia/testing": "^0.1.3",
"@simplewebauthn/types": "^10.0.0",
"@testing-library/cypress": "^10.0.2",
"@testing-library/jest-dom": "^6.4.6",