feat: Support reading config from .yamllint.yml and .yamllint.yaml

Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
This commit is contained in:
Ibrahim AshShohail
2019-08-25 20:11:42 +03:00
committed by Adrien Vergé
parent b62b424dd4
commit 881d301883
2 changed files with 6 additions and 1 deletions

View File

@@ -14,7 +14,8 @@ To use a custom configuration file, use the ``-c`` option:
If ``-c`` is not provided, yamllint will look for a configuration file in the
following locations (by order of preference):
- ``.yamllint`` in the current working directory
- ``.yamllint``, ``.yamllint.yaml`` or ``.yamllint.yml`` in the current working
directory
- ``$XDG_CONFIG_HOME/yamllint/config``
- ``~/.config/yamllint/config``