Skip to content

Conversation

@snitin315
Copy link
Contributor

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Refs #19240

Updated following rules:

  • docs/src/rules/no-shadow-restricted-names.md
  • docs/src/rules/no-shadow.md
  • docs/src/rules/no-throw-literal.md
  • docs/src/rules/no-underscore-dangle.md
  • docs/src/rules/strict.md

Is there anything you'd like reviewers to focus on?

I think this PR will

@snitin315 snitin315 requested a review from a team as a code owner March 19, 2025 15:51
@eslint-github-bot eslint-github-bot bot added the documentation Relates to ESLint's documentation label Mar 19, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Mar 19, 2025
@netlify
Copy link

netlify bot commented Mar 19, 2025

Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit 25bb78b
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/67dc3fe35ceca80008bb8ad5
😎 Deploy Preview https://deploy-preview-19539--docs-eslint.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 configuration.

@amareshsm
Copy link
Member

In some cases, we still declare variables using let. Can we replace it with const wherever possible?
eg:


let a = 3;
}
let a = 5;

Copy link
Member

@amareshsm amareshsm left a comment

Choose a reason for hiding this comment

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

LGTM. Waiting for 2nd approval.

@amareshsm amareshsm added the accepted There is consensus among the team that this change meets the criteria for inclusion label Mar 20, 2025
@amareshsm amareshsm moved this from Needs Triage to Second Review Needed in Triage Mar 20, 2025
Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mdjermanovic mdjermanovic merged commit 48b53d6 into main Mar 20, 2025
31 checks passed
@mdjermanovic mdjermanovic deleted the update-vars-replace branch March 20, 2025 21:10
@github-project-automation github-project-automation bot moved this from Second Review Needed to Complete in Triage Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted There is consensus among the team that this change meets the criteria for inclusion documentation Relates to ESLint's documentation

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

4 participants