Skip to content
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

feat(linter): implement isolated_declaration #209

Merged
merged 4 commits into from
Mar 26, 2023

Conversation

YangchenYe323
Copy link
Contributor

@YangchenYe323 YangchenYe323 commented Mar 25, 2023

Implement restrictions for isolated_declaration in #207

@Boshen
Copy link
Member

Boshen commented Mar 25, 2023

Don't go too hard on this, probably an implementation on R1 should be more than enough for us to showcase our ability.

@Boshen
Copy link
Member

Boshen commented Mar 25, 2023

One cool way for the exports is to mark the node with an Export flag, just like how we did it with Class. This may make your implementation easier.

@YangchenYe323 YangchenYe323 marked this pull request as ready for review March 25, 2023 19:47
@YangchenYe323
Copy link
Contributor Author

What's happening with the github action?
Screen Shot 2023-03-25 at 2 47 38 PM

@YangchenYe323 YangchenYe323 changed the title [WIP] feat(linter): implement isolated_declaration feat(linter): implement isolated_declaration Mar 25, 2023
@Boshen
Copy link
Member

Boshen commented Mar 26, 2023

What's happening with the github action? Screen Shot 2023-03-25 at 2 47 38 PM

It's fixed.

@Boshen
Copy link
Member

Boshen commented Mar 26, 2023

Good work! I like how the semantic analyzer is shaping out, the details are getting similar to Typescript, which is a good.

@Boshen Boshen merged commit 929b0ef into oxc-project:main Mar 26, 2023
@Boshen
Copy link
Member

Boshen commented Mar 26, 2023

Thank you! I made some small modifications on main, I'll make a release soon.

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.

None yet

2 participants