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

Automatically hide rule list column when splitting the rule list by it #323

Open
bmish opened this issue Dec 2, 2022 · 0 comments
Open
Labels
Milestone

Comments

@bmish
Copy link
Owner

bmish commented Dec 2, 2022

eslint-plugin-jest splits their rule list by meta.docs.requiresTypeChecking, but then has to manually list out all the rule list columns minus the "requires type checking" column to avoid showing it unnecessarily. We could do this automatically.

https://github.com/jest-community/eslint-plugin-jest/blob/7984bc211cad0a8e226202a2ebf241956169c064/.eslint-doc-generatorrc.js#L9-L19

My only concern is that this "magic" would preclude someone from including the column if they for some reason still wanted it in this situation (despite it being redundant).

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

No branches or pull requests

1 participant