From 1634aa30662dfb72e26b26eab24cf1a784820b0c Mon Sep 17 00:00:00 2001 From: axolotle Date: Thu, 11 Jul 2024 15:14:08 +0200 Subject: [PATCH] chore: update eslint rules --- app/.eslintrc.js | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/app/.eslintrc.js b/app/.eslintrc.js index 737ca969..e703f821 100644 --- a/app/.eslintrc.js +++ b/app/.eslintrc.js @@ -5,24 +5,22 @@ module.exports = { node: true, }, extends: [ - 'plugin:vue/vue3-strongly-recommended', + 'plugin:vue/vue3-recommended', 'eslint:recommended', '@vue/eslint-config-typescript', 'plugin:prettier/recommended', ], rules: { - // 'no-unused-vars': [ - // 'warn', - // { varsIgnorePattern: '^_', destructuredArrayIgnorePattern: '^_' }, - // ], - // temp vue3 compat3 - // 'vue/no-v-for-template-key-on-child': 'error', - // 'vue/no-v-for-template-key': 'off', - // 'vue/attribute-hyphenation': 'off', - // 'vue/v-on-event-hyphenation': 'off', - // temp flemme - // 'vue/require-explicit-emits': 'off', - // 'vue/require-default-prop': 'off', - // 'no-unused-vars': 'off', + 'vue/no-v-html': 'off', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': [ + 'warn', + { + varsIgnorePattern: '^_', + argsIgnorePattern: '^_', + destructuredArrayIgnorePattern: '^_', + }, + ], + 'no-console': ['error', { allow: ['warn', 'error'] }], }, }