Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feat: Add noUselessTypeConstraint #4484

Merged
merged 23 commits into from
May 18, 2023

Conversation

nikeee
Copy link
Contributor

@nikeee nikeee commented May 15, 2023

Summary

I'm relatively novel to rust and the rome internals. Please don't hesitate to state enhancements. I'd like to learn. :)
Also, feel free to push directly into my repository and/or close this PR if it doesn't fit.

Resolves #4480

Test Plan

Uset test:

cargo test --package rome_js_analyze --test spec_tests -- specs

Changelog

  • The PR requires a changelog line

Documentation

  • The PR requires documentation
  • I will create a new PR to update the documentation

(in case that an update is needed, please comment)

@netlify
Copy link

netlify bot commented May 15, 2023

Deploy Preview for docs-rometools ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 71bf584
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/64652edcaa17e70007bc7222
😎 Deploy Preview https://deploy-preview-4484--docs-rometools.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added A-Diagnostic Area: errors and diagnostics A-Linter Area: linter labels May 15, 2023
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
@github-actions github-actions bot added the A-Project Area: project configuration and loading label May 16, 2023
@nikeee
Copy link
Contributor Author

nikeee commented May 16, 2023

Thank you for your time! I tried to address the stuff in the review. This PR should probably be squashed if it will be merged.

@Conaclos
Copy link
Contributor

Thank you for your time! I tried to address the stuff in the review. This PR should probably be squashed if it will be merged.

No worry, we always squash the PRs :)

By the way, could you rebase on main in order to resolve the conflicts?
Once resolved, I think we can merge :)

@nikeee
Copy link
Contributor Author

nikeee commented May 16, 2023

Done (+ resolve formatting issues)

Copy link
Contributor

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

@Conaclos
Copy link
Contributor

There are still some errors: it seems you have to run just codegen-linter. You can check with just check-ready. Could be nice to rebase again before merging.

@Conaclos Conaclos merged commit 7f72d15 into rome:main May 18, 2023
16 checks passed
@nikeee nikeee deleted the feature/noUselessTypeConstraint branch June 15, 2023 20:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Diagnostic Area: errors and diagnostics A-Linter Area: linter A-Project Area: project configuration and loading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📎 Implement noUselessTypeConstraint, @typescript-eslint/no-unnecessary-type-constraint
3 participants