Skip to main content

ValidDocParamNames

Each parameter defined in LiquidDoc should not collide with liquid tags.


The following examples contain code snippets that fail this check.

The following example shows multiple parameters that share names with liquid tags:

{% doc %}
@param {string} render
@param {string} assign
{% enddoc %}

The following example contains the default configuration for this check:

ValidDocParamNames:
enabled: true
severity: warning
ParameterDescription
enabledWhether this check is enabled.
severityThe severity of the check.

Anchor to Disabling this checkDisabling this check

Disabling this check isn't recommended.


Was this page helpful?