这是indexloc提供的服务,不要输入任何密码
Skip to content

docs: fix JSDoc annotation for ESLint flat configs of basic example #10089

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

Merged
merged 3 commits into from
Mar 5, 2025

Conversation

Tyoneb
Copy link
Contributor

@Tyoneb Tyoneb commented Mar 4, 2025

Description

This is a very minor change I noticed when copying the basic example.
The JSDoc annotation for the ESLint flat configs is incorrect, indicating a config object instead of an array of config objects, which prevents the IDE from providing proper autocomplete.

Testing Instructions

The IDE autocomplete feature allows to very quickly validate the change.

@Tyoneb Tyoneb requested a review from a team as a code owner March 4, 2025 23:16
@turbo-orchestrator turbo-orchestrator bot added area: examples Improvements or additions to examples needs: triage New issues get this label. Remove it after triage labels Mar 4, 2025
Copy link

vercel bot commented Mar 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 5, 2025 2:25pm

Copy link

vercel bot commented Mar 4, 2025

@Tyoneb is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@Tyoneb Tyoneb changed the title Fix JSDoc annotation for ESLint flat config basic example docs: fix JSDoc annotation for ESLint flat config basic example Mar 5, 2025
@Tyoneb Tyoneb changed the title docs: fix JSDoc annotation for ESLint flat config basic example docs: fix JSDoc annotation for ESLint flat configs of basic example Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: examples Improvements or additions to examples needs: triage New issues get this label. Remove it after triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants