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:
Alexander Brown
2026-02-21 17:44:00 -08:00
parent a2c028a56e
commit 6f61cc4e91
2 changed files with 7 additions and 1 deletions

View File

@@ -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": [
{

View File

@@ -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': [