Browse Source

chore: create ESLint baseline for hard-to-fix errors

WE NEED TO EMPTY THIS!

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/55495/head
Ferdinand Thiessen 1 week ago
parent
commit
af5d538b03
No known key found for this signature in database GPG Key ID: 45FAE7268762B400
  1. 2
      REUSE.toml
  2. 63
      build/eslint-baseline.json
  3. 6
      package.json

2
REUSE.toml

@ -400,7 +400,7 @@ SPDX-FileCopyrightText = "2019 Fabian Wiktor <https://www.pexels.com/photo/green
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["openapi.json", ".envrc", "flake.nix", "flake.lock"]
path = ["openapi.json", ".envrc", "flake.nix", "flake.lock", "build/eslint-baseline.json"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2025 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"

63
build/eslint-baseline.json

@ -0,0 +1,63 @@
{
"apps/files/src/components/TransferOwnershipDialogue.vue": {
"@nextcloud/vue/no-deprecated-props": {
"count": 1
}
},
"apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue": {
"vue/no-mutating-props": {
"count": 2
}
},
"apps/files_sharing/src/components/SharingInput.vue": {
"@nextcloud/vue/no-deprecated-props": {
"count": 1
}
},
"apps/files_sharing/src/views/SharingDetailsTab.vue": {
"vue/no-mutating-props": {
"count": 23
}
},
"apps/files_sharing/src/views/SharingLinkList.vue": {
"vue/no-mutating-props": {
"count": 1
}
},
"apps/settings/src/components/Users/NewUserDialog.vue": {
"@nextcloud/vue/no-deprecated-props": {
"count": 1
},
"vue/no-mutating-props": {
"count": 16
}
},
"apps/workflowengine/src/components/Check.vue": {
"vue/no-mutating-props": {
"count": 3
}
},
"apps/workflowengine/src/components/Rule.vue": {
"vue/no-mutating-props": {
"count": 1
}
},
"core/src/OC/dialogs.js": {
"camelcase": {
"count": 33
},
"no-undef": {
"count": 1
}
},
"core/src/views/Login.vue": {
"vue/multi-word-component-names": {
"count": 1
}
},
"core/src/views/Setup.vue": {
"vue/multi-word-component-names": {
"count": 1
}
}
}

6
package.json

@ -25,10 +25,10 @@
"cypress:gui": "cypress open",
"cypress:version": "cypress version",
"dev": "webpack --node-env development --progress",
"lint": "eslint",
"lint:fix": "eslint --fix",
"lint": "eslint --suppressions-location build/eslint-baseline.json",
"lint:fix": "eslint --suppressions-location build/eslint-baseline.json --fix",
"sass": "sass --style compressed --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then printf \"$cssdir \"; fi; done)",
"sass:icons": "babel-node core/src/icons.js",
"sass:icons": "babel-node core/src/icons.cjs",
"sass:watch": "sass --watch --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then printf \"$cssdir \"; fi; done)",
"stylelint": "stylelint $(for appdir in $(ls apps); do if ! $(git check-ignore -q \"apps/$appdir\"); then printf \"'apps/$appdir/**/*.{scss,vue}' \"; fi; done) 'core/**/*.{scss,vue}'",
"stylelint:fix": "npm run stylelint -- --fix",

Loading…
Cancel
Save