Validate code tags for class and member references
This commit also adds means to manually disable warnings in `code` tags where it's a false positive with the new `skip-lint` attribute. Warnings are now enabled on CI to prevent future errors.
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
A custom effect for a [RichTextLabel].
|
||||
[b]Note:[/b] For a [RichTextEffect] to be usable, a BBCode tag must be defined as a member variable called [code]bbcode[/code] in the script.
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
[gdscript skip-lint]
|
||||
# The RichTextEffect will be usable like this: `[example]Some text[/example]`
|
||||
var bbcode = "example"
|
||||
[/gdscript]
|
||||
[csharp]
|
||||
[csharp skip-lint]
|
||||
// The RichTextEffect will be usable like this: `[example]Some text[/example]`
|
||||
string bbcode = "example";
|
||||
[/csharp]
|
||||
|
||||
Reference in New Issue
Block a user