Skip to content

chore(website): configure the playground for all available file types#12211

Merged
JoshuaKGoldberg merged 3 commits intotypescript-eslint:mainfrom
reduckted:bugfix/12210-js-playground
Apr 26, 2026
Merged

chore(website): configure the playground for all available file types#12211
JoshuaKGoldberg merged 3 commits intotypescript-eslint:mainfrom
reduckted:bugfix/12210-js-playground

Conversation

@reduckted
Copy link
Copy Markdown
Contributor

PR Checklist

Overview

The playground's ESLint configuration only configured .ts and .tsx files. None of the other file types were configured, so when ESLint parsed the config for a different file type it would fail to find the rules.

The ESLint configuration is now configured for all of the file extensions that can be selected.

I've also included the error message in the linter message instead of only the stack trace to make it easier to debug in the future.

@typescript-eslint
Copy link
Copy Markdown
Contributor

Thanks for the PR, @reduckted!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 10, 2026

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit a8bb7ee
🔍 Latest deploy log https://app.netlify.com/projects/typescript-eslint/deploys/69d8f132ff57980008f545ea
😎 Deploy Preview https://deploy-preview-12211--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 98 (🔴 down 1 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@reduckted reduckted changed the title Bugfix/12210 js playground Configure the playground for all available file types Apr 10, 2026
@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Apr 10, 2026

View your CI Pipeline Execution ↗ for commit a8bb7ee

Command Status Duration Result
nx run-many -t lint ✅ Succeeded 2m 10s View ↗
nx run-many -t typecheck ✅ Succeeded 35s View ↗
nx run types:build ✅ Succeeded 1s View ↗
nx test typescript-estree --coverage=false ✅ Succeeded 1s View ↗
nx test eslint-plugin-internal --coverage=false ✅ Succeeded 2s View ↗
nx run integration-tests:test ✅ Succeeded 3s View ↗
nx run generate-configs ✅ Succeeded 5s View ↗
nx run-many --target=build --parallel --exclude... ✅ Succeeded 3s View ↗
Additional runs (34) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2026-04-10 12:51:30 UTC

@reduckted reduckted changed the title Configure the playground for all available file types fix(website): configure the playground for all available file types Apr 10, 2026
@bradzacher bradzacher changed the title fix(website): configure the playground for all available file types chore(website): configure the playground for all available file types Apr 10, 2026
Copy link
Copy Markdown
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I like the wiring up of existing fileTypes. This feels smooth. Thanks! ✨

@JoshuaKGoldberg JoshuaKGoldberg merged commit c06b32c into typescript-eslint:main Apr 26, 2026
62 of 63 checks passed
@reduckted reduckted deleted the bugfix/12210-js-playground branch April 26, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: playground does not work with js files

2 participants