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
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
3 changed files with
67 additions and
4 deletions
REUSE.toml
build/eslint-baseline.json
package.json
@ -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"
@ -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
}
}
}
@ -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.c js" ,
"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" ,