chore: update eslint rules

This commit is contained in:
axolotle 2024-07-11 15:14:08 +02:00
parent 00fe9f42bc
commit 1634aa3066

View file

@ -5,24 +5,22 @@ module.exports = {
node: true, node: true,
}, },
extends: [ extends: [
'plugin:vue/vue3-strongly-recommended', 'plugin:vue/vue3-recommended',
'eslint:recommended', 'eslint:recommended',
'@vue/eslint-config-typescript', '@vue/eslint-config-typescript',
'plugin:prettier/recommended', 'plugin:prettier/recommended',
], ],
rules: { rules: {
// 'no-unused-vars': [ 'vue/no-v-html': 'off',
// 'warn', 'no-unused-vars': 'off',
// { varsIgnorePattern: '^_', destructuredArrayIgnorePattern: '^_' }, '@typescript-eslint/no-unused-vars': [
// ], 'warn',
// temp vue3 compat3 {
// 'vue/no-v-for-template-key-on-child': 'error', varsIgnorePattern: '^_',
// 'vue/no-v-for-template-key': 'off', argsIgnorePattern: '^_',
// 'vue/attribute-hyphenation': 'off', destructuredArrayIgnorePattern: '^_',
// 'vue/v-on-event-hyphenation': 'off', },
// temp flemme ],
// 'vue/require-explicit-emits': 'off', 'no-console': ['error', { allow: ['warn', 'error'] }],
// 'vue/require-default-prop': 'off',
// 'no-unused-vars': 'off',
}, },
} }