feat: Make YAML file extensions configurable

This commit is contained in:
grzesuav
2019-07-19 18:28:34 +02:00
committed by Adrien Vergé
parent 673bdbd324
commit 063c854658
5 changed files with 112 additions and 9 deletions

View File

@@ -115,6 +115,21 @@ return code will be:
* ``1`` if one or more errors occur
* ``2`` if no errors occur, but one or more warnings occur
YAML files extensions
---------------------
To configure what yamllint should consider as YAML files, set ``yaml-files``
configuration option. The default is:
.. code-block:: yaml
yaml-files:
- '*.yaml'
- '*.yml'
The same rules as for ignoring paths apply (``.gitignore``-style path pattern,
see below).
Ignoring paths
--------------