Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 522 Bytes

rule-list.md

File metadata and controls

25 lines (16 loc) · 522 Bytes
title
Rule list

The rule list is a macro defined in components/rule-list.macro.html. The macro accepts a list of rule names and renders comma-separated links.

Usage

{% raw %}

<!-- import the macro -->
{% from 'components/rule-list.macro.html' import ruleList %}

<!-- use the macro -->
{{ ruleList({ rules: ['accessor-pairs', 'no-undef'] }) }}

{% endraw %}

Examples

{% from 'components/rule-list.macro.html' import ruleList %}

{{ ruleList({ rules: ['accessor-pairs', 'no-undef'] }) }}