Open bjt-user opened 7 months ago
Hello,
I understand the need, but I'm not sure printing a file path would make sense, since yamllint can recursively aggregate multiple config files + command-line arguments to parse its configuration. Printing the whole configuration as text could be an option, but given the scarcity of this need, I doubt it's worth implementing it.
Most users probably search it on the web and find https://yamllint.readthedocs.io/en/stable/configuration.html#default-configuration
PS: How do I run/build/link this project?
I find that the easiest way to run yamllint from its source directory is:
PYTHONPATH=. python -m yamllint
Hello,
a
or
would be helpful to know where the config file is.
Or maybe a
--verbose
option that outputs the config file that is in play.I had to use
and search through the output to find out that
/usr/lib/python3.11/site-packages/yamllint/conf/default.yaml
is responsible for the linting rules.PS: How do I run/build/link this project? This did not work: