環境
- ESLint 8.0.1
- Vue 3.2.20
対策
ESLintの設定ファイルに、グローバル変数として定義する。
$ cat .eslintrc { "globals": { "defineProps": "readonly", "defineEmits": "readonly", "defineExpose": "readonly", "withDefaults": "readonly" } }
ESLintの設定ファイルに、グローバル変数として定義する。
$ cat .eslintrc { "globals": { "defineProps": "readonly", "defineEmits": "readonly", "defineExpose": "readonly", "withDefaults": "readonly" } }