vue/no-empty-component-block
disallow the
<template><script><style>block to be empty
- 🔧 The
--fixoption on the command line can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule disallows the <template> <script> <style> block to be empty.
This rule also checks block what has attribute src. See Vue Single-File Component (SFC) Spec.
🔧 Options
Nothing.
🚀 Version
This rule was introduced in eslint-plugin-vue v7.0.0