mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
chore: move new vue lint checks to oxlint
- enable newly-supported vue rules in oxlint - disable duplicated vue rules in eslint config Amp-Thread-ID: https://ampcode.com/threads/T-019c829b-086a-74d9-8113-76f207730d1b Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -98,7 +98,10 @@
|
||||
"typescript/no-floating-promises": "error",
|
||||
"typescript/no-explicit-any": "error",
|
||||
"vue/no-import-compiler-macros": "error",
|
||||
"vue/no-dupe-keys": "error"
|
||||
"vue/no-dupe-keys": "error",
|
||||
"vue/no-arrow-functions-in-watch": "error",
|
||||
"vue/no-deprecated-destroyed-lifecycle": "error",
|
||||
"vue/no-lifecycle-after-await": "error"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
|
||||
@@ -152,6 +152,9 @@ export default defineConfig([
|
||||
'vue/no-use-v-else-with-v-for': 'error',
|
||||
'vue/one-component-per-file': 'error',
|
||||
'vue/require-default-prop': 'off', // TODO: fix -- this one is very worthwhile
|
||||
'vue/no-arrow-functions-in-watch': 'off',
|
||||
'vue/no-deprecated-destroyed-lifecycle': 'off',
|
||||
'vue/no-lifecycle-after-await': 'off',
|
||||
|
||||
// i18n rules
|
||||
'@intlify/vue-i18n/no-raw-text': [
|
||||
|
||||
Reference in New Issue
Block a user