-
Notifications
You must be signed in to change notification settings - Fork 3
void ext
❌ By default, this rule reports void extension tags (e.g., <templatestyles> and <section>) containing content or empty extension tags that should contain content (e.g., <dynamicpagelist> and <templatedata>) as errors.
Examples of incorrect code for { "void-ext": 2 }:
<languages>Foo</languages><templatedata/><dynamicpagelist></dynamicpagelist>Examples of correct code for { "void-ext": 2 }:
<languages></languages>This rule can be configured for specific extension tags by providing an object with the tag name as the key and the severity as the value.
Examples of incorrect code for { "void-ext": [ 0, { "templatestyles": 2 } ] }:
<templatestyles>Foo</templatestyles>Examples of correct code for { "void-ext": { "templatestyles": 0 } }:
<templatestyles>Foo</templatestyles>对维基文本批量执行语法检查的命令行工具
轻量级的维基模板解析器
维基文本语言服务器协议实现
用于维基文本的 VS Code 扩展
A command-line tool that performs linting on Wikitext in bulk
A lightweight Wikitext template parser
An implementation of the Language Server Protocol for Wikitext
VS Code extension for Wikitext