docs: Add default values to rules with options

This commit is contained in:
Benjamin Wuethrich
2020-07-22 05:54:05 -04:00
committed by GitHub
parent b80997eba6
commit b65769c9d2
16 changed files with 156 additions and 0 deletions

View File

@@ -34,6 +34,17 @@ used.
**Note**: Multi-line strings (with ``|`` or ``>``) will not be checked.
.. rubric:: Default values (when enabled)
.. code-block:: yaml
rules:
quoted-strings:
quote-type: any
required: true
extra-required: []
extra-allowed: []
.. rubric:: Examples
#. With ``quoted-strings: {quote-type: any, required: true}``