From a95eec9223359cecdecdbe783c1f56e2472034ea Mon Sep 17 00:00:00 2001 From: Jonas Date: Mon, 2 Dec 2024 16:19:10 +0100 Subject: [PATCH] fix(esling): eslint config should extend `@nextcloud` Required to import all Nextcloud eslint rules, not only the typescript ones. Signed-off-by: Jonas --- .eslintrc.cjs | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index bc019d9820d..0bab9029919 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -6,7 +6,7 @@ module.exports = { root: true, extends: [ - '@nextcloud/eslint-config/typescript', + '@nextcloud', ], rules: { '@typescript-eslint/no-unused-vars': ['off'], diff --git a/tsconfig.json b/tsconfig.json index 9d64b435b9d..43a99b75aea 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "extends": "@vue/tsconfig", "compilerOptions": { "allowSyntheticDefaultImports": true, - "allowJs": true, + "allowJs": true, "declaration": true, "esModuleInterop": true, "lib": ["DOM", "ESNext"],