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

Docs: ban-types.md should pull in defaultTypes automatically #6210

Closed
2 tasks done
JoshuaKGoldberg opened this issue Dec 13, 2022 · 1 comment · Fixed by #7714
Closed
2 tasks done

Docs: ban-types.md should pull in defaultTypes automatically #6210

JoshuaKGoldberg opened this issue Dec 13, 2022 · 1 comment · Fixed by #7714
Labels
accepting prs Go ahead, send a pull request that resolves this issue documentation Documentation ("docs") that needs adding/updating

Comments

@JoshuaKGoldberg
Copy link
Member

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

#6209: ban-types.md has a copy & pasted description of the default rule options. We should instead pull from the source file automatically.

@orta suggested https://github.com/orta/markdown-magic-inline-types & co. as a potential option. I also would love to see if there's anything in Docusaurus for this kind of feature request.

Affected URL(s)

https://typescript-eslint.io/rules/ban-types/

@JoshuaKGoldberg JoshuaKGoldberg added documentation Documentation ("docs") that needs adding/updating accepting prs Go ahead, send a pull request that resolves this issue labels Dec 13, 2022
@Josh-Cena
Copy link
Member

I also would love to see if there's anything in Docusaurus for this kind of feature request.

Docusaurus tries to be decoupled from any specific setup, and so far we haven't seen great demand for it (FWIW, we have much greater demand for OpenAPI, etc.)

If you run into any issue while working on it, or if I should investigate myself, I can take a look since winter break is coming :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepting prs Go ahead, send a pull request that resolves this issue documentation Documentation ("docs") that needs adding/updating
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants