AGLint icon indicating copy to clipboard operation
AGLint copied to clipboard

Print configuration

Open scripthunter7 opened this issue 1 year ago • 1 comments

I suggest implementing a command that resolves the linter configuration for a given path and prints it to the console in JSON / YAML format. For example:

aglint --print-config path/to/file.txt

or

aglint --print-config path/to/folder

or for the actual folder:

aglint --print-config .

This can be a useful tool for various debugging purposes.

Optionally, we can also list the chain of configuration files from which the configuration was compiled by merging.

scripthunter7 avatar May 03 '23 12:05 scripthunter7