ValidContentForArguments
Makes sure that the arguments passed to the content_for
tag are valid.
The following examples contain code snippets that either fail or pass this check.
In the following example, the invalid
named argument is not accepted by the content_for
tag.
In the following example, all named attributes are accepted by the content_for
tag.
The following example contains the default configuration for this check:
Parameter | Description |
---|---|
enabled |
Whether this check is enabled. |
severity |
The severity of the check. |
Disabling this check
Anchor link to section titled "Disabling this check"Disabling this check isn't recommended.