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

chore: use node: prefix for built-in modules #4384

Merged
merged 4 commits into from
Apr 15, 2022
Merged

chore: use node: prefix for built-in modules #4384

merged 4 commits into from
Apr 15, 2022

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Apr 15, 2022

πŸ”— Linked issue

nuxt/nuxt#11858

❓ Type of change

  • 🧹 Chore

πŸ“š Description

This PR adds the node: prefix to references in code to node built-ins, and enables an eslint rule to ensure this remains the case. See nodejs/node#38343.

(We could also consider adding the eslint rule upstream in https://github.com/nuxt/eslint-config.)

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added chore 🧹 p1-chore Priority 1: no change in change code behavior labels Apr 15, 2022
@danielroe danielroe requested a review from pi0 April 15, 2022 14:34
@danielroe danielroe self-assigned this Apr 15, 2022
@netlify
Copy link

netlify bot commented Apr 15, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit c2e7ed4
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62598c6dc0fa4e00090072a2
😎 Deploy Preview https://deploy-preview-4384--nuxt3-docs.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.

@pi0 pi0 merged commit e0b2a3b into main Apr 15, 2022
@pi0 pi0 deleted the chore/node-prefix branch April 15, 2022 15:19
@pi0 pi0 mentioned this pull request Apr 15, 2022
8 tasks
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x chore 🧹 p1-chore Priority 1: no change in change code behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants