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

Conversation

noftaly
Copy link
Contributor

@noftaly noftaly commented Mar 9, 2023

Summary

Add the noNamespace rule, to disallow the use of TypeScript's namespaces, in favour of ES Modules. akin http://typescript-eslint.io/rules/no-namespace/
Fixes #4274

Test Plan

cargo test --package rome_js_analyze --test spec_tests

Documentation

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

As this is my first contribution to Rome, don't refrain from suggesting how it could be improved or what I should maybe do differently. I'm happy to discuss! :)

@netlify
Copy link

netlify bot commented Mar 9, 2023

Deploy Preview for docs-rometools ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 12345b4
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/640b11b1a808c3000839aac2
😎 Deploy Preview https://deploy-preview-4283--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.

noftaly and others added 2 commits March 10, 2023 09:14
Co-authored-by: Victorien ELVINGER <victorien@elvinger.fr>
@noftaly noftaly requested a review from ematipico March 10, 2023 08:52
noftaly and others added 2 commits March 10, 2023 11:48
Co-authored-by: Victorien ELVINGER <victorien@elvinger.fr>
@noftaly noftaly requested review from Conaclos and removed request for ematipico March 10, 2023 11:05
@Conaclos Conaclos merged commit a5d1251 into rome:main Mar 10, 2023
@noftaly noftaly deleted the feature/no-namespace branch March 10, 2023 13:48
@Conaclos
Copy link
Contributor

@noftaly Thanks for your contribution! :)

@noftaly
Copy link
Contributor Author

noftaly commented Mar 10, 2023

No problem! Thanks for the guidance and the well-written contributing guide!
If I have time I'll try to add the few points that were missing in the contributing guides from my experience

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📎 Implement linter rule noNamespace, no-namespace

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载