From 691f570237e26398aa22f40c0efca23141d5583e Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 25 Jun 2024 00:00:31 +0200 Subject: 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 Signed-off-by: Ferdinand Thiessen --- apps/workflowengine/src/components/Rule.vue | 2 +- apps/workflowengine/src/store.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/workflowengine/src') diff --git a/apps/workflowengine/src/components/Rule.vue b/apps/workflowengine/src/components/Rule.vue index 2f5244d6248..bc5d5637600 100644 --- a/apps/workflowengine/src/components/Rule.vue +++ b/apps/workflowengine/src/components/Rule.vue @@ -132,7 +132,7 @@ export default { this.$set(this.rule, 'operation', operation) await this.updateRule() }, - validate(state) { + validate(/* state */) { this.error = null this.$store.dispatch('updateRule', this.rule) }, diff --git a/apps/workflowengine/src/store.js b/apps/workflowengine/src/store.js index 7097abf5dd4..a07b0989357 100644 --- a/apps/workflowengine/src/store.js +++ b/apps/workflowengine/src/store.js @@ -6,10 +6,11 @@ import Vue from 'vue' import Vuex, { Store } from 'vuex' import axios from '@nextcloud/axios' -import { getApiUrl } from './helpers/api.js' import { confirmPassword } from '@nextcloud/password-confirmation' -import '@nextcloud/password-confirmation/dist/style.css' import { loadState } from '@nextcloud/initial-state' +import { getApiUrl } from './helpers/api.js' + +import '@nextcloud/password-confirmation/dist/style.css' Vue.use(Vuex) -- cgit v1.2.3