docs: Make 'yaml-file' config documentation clearer

Related to https://github.com/adrienverge/yamllint/issues/311.
pull/313/head
Adrien Vergé 4 years ago
parent 29d2b50d50
commit 597e88bb7b

@ -123,8 +123,8 @@ warning level problems, only error level ones.
YAML files extensions
---------------------
To configure what yamllint should consider as YAML files, set ``yaml-files``
configuration option. The default is:
To configure what yamllint should consider as YAML files when listing
directories, set ``yaml-files`` configuration option. The default is:
.. code-block:: yaml

Loading…
Cancel
Save