Skip to content

refactor: add JSDoc to improve config.ignoreWarnings, profile, bail types#8230

Merged
chenjiahan merged 1 commit intomainfrom
refactor/configuration-ignore-warnings
Oct 28, 2024
Merged

refactor: add JSDoc to improve config.ignoreWarnings, profile, bail types#8230
chenjiahan merged 1 commit intomainfrom
refactor/configuration-ignore-warnings

Conversation

@GiveMe-A-Name
Copy link
Copy Markdown
Member

Summary

Zod types system is not easy to understand by user.

We tend use raw ts provider intellisense and jsDoc for user in ide.

  • Add JSDoc for config.ignoreWarnings.
  • Add JSDoc for config.profile.
  • Add JSDoc for config.bail.

See #4241 more detail.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Oct 28, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 6fbd154
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/671ef33a940a6c0008ac5b5b

@chenjiahan chenjiahan enabled auto-merge (squash) October 28, 2024 02:19
@chenjiahan chenjiahan merged commit e681e2f into main Oct 28, 2024
@chenjiahan chenjiahan deleted the refactor/configuration-ignore-warnings branch October 28, 2024 02:22
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.

2 participants