diff --git a/package.json b/package.json index 6acfa1f9f0..86c7c4926a 100644 --- a/package.json +++ b/package.json @@ -94,8 +94,7 @@ "patchedDependencies": { "element-ui@2.15.12": "patches/element-ui@2.15.12.patch", "typedi@0.10.0": "patches/typedi@0.10.0.patch", - "@sentry/cli@2.17.0": "patches/@sentry__cli@2.17.0.patch", - "@typescript-eslint/eslint-plugin@5.59.0": "patches/@typescript-eslint__eslint-plugin@5.59.0.patch" + "@sentry/cli@2.17.0": "patches/@sentry__cli@2.17.0.patch" } } } diff --git a/packages/@n8n_io/eslint-config/frontend.js b/packages/@n8n_io/eslint-config/frontend.js index c2ad35031a..9184438438 100644 --- a/packages/@n8n_io/eslint-config/frontend.js +++ b/packages/@n8n_io/eslint-config/frontend.js @@ -25,11 +25,13 @@ module.exports = { 'vue/no-deprecated-slot-scope-attribute': 'error', 'vue/no-multiple-template-root': 'error', 'vue/v-slot-style': 'error', + 'vue/no-unused-components': 'error', + 'vue/multi-word-component-names': 'off', // TODO: remove these - 'vue/no-unused-components': 'warn', - 'vue/return-in-computed-property': 'warn', 'vue/no-mutating-props': 'warn', - '@typescript-eslint/no-floating-promises': 'warn', + 'vue/no-side-effects-in-computed-properties': 'warn', + 'vue/no-v-text-v-html-on-component': 'warn', + 'vue/return-in-computed-property': 'warn', }, }; diff --git a/packages/@n8n_io/eslint-config/package.json b/packages/@n8n_io/eslint-config/package.json index 34e0abc03a..dfc131cd35 100644 --- a/packages/@n8n_io/eslint-config/package.json +++ b/packages/@n8n_io/eslint-config/package.json @@ -6,7 +6,7 @@ "@types/eslint": "~8.37", "@typescript-eslint/eslint-plugin": "~5.59", "@typescript-eslint/parser": "~5.59", - "@vue/eslint-config-typescript": "~8.0", + "@vue/eslint-config-typescript": "^11.0.3", "eslint": "~8.39", "eslint-config-airbnb-typescript": "~17.0", "eslint-config-prettier": "~8.8", @@ -17,7 +17,8 @@ "eslint-plugin-prettier": "~4.2", "eslint-plugin-unicorn": "~46.0", "eslint-plugin-unused-imports": "~2.0", - "eslint-plugin-vue": "~7.17" + "eslint-plugin-vue": "^9.12.0", + "vue-eslint-parser": "^9.3.0" }, "scripts": { "clean": "rimraf .turbo", diff --git a/packages/editor-ui/.eslintrc.js b/packages/editor-ui/.eslintrc.js index 4ac9eccb42..0a86924fc5 100644 --- a/packages/editor-ui/.eslintrc.js +++ b/packages/editor-ui/.eslintrc.js @@ -8,8 +8,6 @@ module.exports = { ...sharedOptions(__dirname, 'frontend'), - ignorePatterns: ['*.d.cts'], - rules: { // TODO: Remove these 'id-denylist': 'off', diff --git a/packages/editor-ui/src/components/AboutModal.vue b/packages/editor-ui/src/components/AboutModal.vue index ffc192e81b..23ee51b71e 100644 --- a/packages/editor-ui/src/components/AboutModal.vue +++ b/packages/editor-ui/src/components/AboutModal.vue @@ -55,12 +55,12 @@