Skip to content

Conversation

sethamus
Copy link
Contributor

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Currently, the rule examples checker only allows JavaScript language tags ('js', 'javascript', 'jsx'), causing errors when TypeScript examples are present in rule documentation. This change adds support for TypeScript language tags.

Related Issues

#19527

Is there anything you'd like reviewers to focus on?

@sethamus sethamus requested a review from a team as a code owner March 17, 2025 13:13
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Mar 17, 2025
@eslint-github-bot eslint-github-bot bot added the documentation Relates to ESLint's documentation label Mar 17, 2025
Copy link

netlify bot commented Mar 17, 2025

Deploy Preview for docs-eslint canceled.

Name Link
🔨 Latest commit 44cb5b5
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/67d81fe745c7bb0008d91ed4

@nzakas
Copy link
Member

nzakas commented Mar 17, 2025

@sethamus thanks for the contribution. It looks like this mostly pulls files from another open PR: #19431. Is that accurate?

@nzakas nzakas moved this from Needs Triage to Triaging in Triage Mar 17, 2025
@sethamus
Copy link
Contributor Author

You're right, it addresses the same issue. I wasn't aware someone was already working on this. I was focused on fixing the CI failures from my other PR. My apologies for the overlap.

@nzakas
Copy link
Member

nzakas commented Mar 17, 2025

No worries, we appreciate the effort. Let's see how we resolve #19431 first and then we can see what to do with this one.

@sethamus sethamus closed this Mar 17, 2025
@github-project-automation github-project-automation bot moved this from Triaging to Complete in Triage Mar 17, 2025
@sethamus
Copy link
Contributor Author

Understood. Let me know if you need it reopened.

@sethamus sethamus deleted the docs/ts-lang-tag branch April 17, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Relates to ESLint's documentation
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

2 participants