Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print configuration #158

Open
scripthunter7 opened this issue May 3, 2023 · 1 comment
Open

Print configuration #158

scripthunter7 opened this issue May 3, 2023 · 1 comment
Labels

Comments

@scripthunter7
Copy link
Member

scripthunter7 commented May 3, 2023

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
Copy link
Member Author

Related: AdguardTeam/VscodeAdblockSyntax#74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant