fix(editor): Disable all potential eslint rule conflicts with prettier (#16832)

This commit is contained in:
Csaba Tuncsik
2025-06-30 19:30:48 +02:00
committed by GitHub
parent c76d94b364
commit 9517d11a7e

View File

@@ -1,6 +1,7 @@
import { globalIgnores } from 'eslint/config';
import tseslint from 'typescript-eslint';
import VuePlugin from 'eslint-plugin-vue';
import eslintConfigPrettier from 'eslint-config-prettier/flat';
import globals from 'globals';
import { baseConfig } from './base.js';
@@ -91,10 +92,6 @@ export const frontendConfig = tseslint.config(
],
'vue/no-v-html': 'error',
// Disabled as these conflict with our current formatting style, and we trust on prettier here.
'vue/html-indent': 'off',
'vue/max-attributes-per-line': 'off',
// TODO: remove these
'vue/no-mutating-props': 'warn',
'vue/no-side-effects-in-computed-properties': 'warn',
@@ -102,4 +99,5 @@ export const frontendConfig = tseslint.config(
'vue/return-in-computed-property': 'warn',
},
},
eslintConfigPrettier,
);