From b779f881901d372fca7c430cb551e45aa07368f6 Mon Sep 17 00:00:00 2001 From: Wayne Zhang Date: Mon, 11 Nov 2024 20:40:19 +0800 Subject: [PATCH] feat(no-empty-component-block): support auto fix (#2595) Co-authored-by: Yosuke Ota Co-authored-by: Flo Edelmann --- docs/rules/index.md | 2 +- docs/rules/no-empty-component-block.md | 4 +- lib/rules/no-empty-component-block.js | 5 +- tests/lib/rules/no-empty-component-block.js | 69 +++++++++++++++++++++ 4 files changed, 77 insertions(+), 3 deletions(-) diff --git a/docs/rules/index.md b/docs/rules/index.md index 4085ce237..e359f47ab 100644 --- a/docs/rules/index.md +++ b/docs/rules/index.md @@ -232,7 +232,7 @@ For example: | [vue/no-deprecated-delete-set](./no-deprecated-delete-set.md) | disallow using deprecated `$delete` and `$set` (in Vue.js 3.0.0+) | | :warning: | | [vue/no-deprecated-model-definition](./no-deprecated-model-definition.md) | disallow deprecated `model` definition (in Vue.js 3.0.0+) | :bulb: | :warning: | | [vue/no-duplicate-attr-inheritance](./no-duplicate-attr-inheritance.md) | enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"` | | :hammer: | -| [vue/no-empty-component-block](./no-empty-component-block.md) | disallow the `