vue/padding-line-between-blocks
require or disallow padding lines between blocks
- 🔧 The
--fixoption on the command line can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule requires or disallows blank lines between blocks. Properly placed blank lines help developers understand the code.
🔧 Options
json
{
"vue/padding-line-between-blocks": ["error", "always" | "never"]
}"always"(default) ... Requires one or more blank lines. Note it does not count lines that comments exist as blank lines."never"... Disallows blank lines.
"always" (default)
"never"
📚 Further Reading
🚀 Version
This rule was introduced in eslint-plugin-vue v6.2.0