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

Provide a means for outputting the merged configuration for all the linters #20

Open
jobara opened this issue Feb 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@jobara
Copy link
Member

jobara commented Feb 2, 2021

Is your feature request related to a problem?

At the moment it's hard to determine what the exact configurations/rules each of the linters are using; especially when factoring extending from shareable configs like stylint-config-fluid and eslint-config-fluid.

Describe the solution you'd like

Provide an option to output all of the configurations to be used. It would help if there were links back to the docs for the specific linter rules, as it isn't always clear what those options are actually for just from the names.

stylint and eslint both provide options to print config stylelint --print-config and eslint --print-config

@jobara jobara added the enhancement New feature or request label Feb 2, 2021
@the-t-in-rtf
Copy link
Contributor

As I mentioned in the chat, ESLint's --print-config flag requires a path argument, so we'd need a little logic to help safely detect that. Turns out the same is true of stylelint's --print-config option.

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

No branches or pull requests

2 participants