Skip to content

chore: remove unused JS files docs-main.js and navigation.js#1024

Open
amareshsm wants to merge 2 commits into
mainfrom
rf-unsed-files
Open

chore: remove unused JS files docs-main.js and navigation.js#1024
amareshsm wants to merge 2 commits into
mainfrom
rf-unsed-files

Conversation

@amareshsm
Copy link
Copy Markdown
Member

Prerequisites checklist

AI acknowledgment

  • I did not use AI to generate this PR.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

What is the purpose of this pull request?

remove unused JS files docs-main.js and navigation.js

What changes did you make? (Give an overview)

remove unused JS files docs-main.js and navigation.js

Related Issues

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

@github-project-automation github-project-automation Bot moved this to Needs Triage in Triage May 6, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for hi-eslint ready!

Name Link
🔨 Latest commit 90c2516
🔍 Latest deploy log https://app.netlify.com/projects/hi-eslint/deploys/6a062f03dcdb3000083032c5
😎 Deploy Preview https://deploy-preview-1024--hi-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for new-eslint ready!

Name Link
🔨 Latest commit 90c2516
🔍 Latest deploy log https://app.netlify.com/projects/new-eslint/deploys/6a062f03ca7bf00008596c1c
😎 Deploy Preview https://deploy-preview-1024--new-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for es-eslint ready!

Name Link
🔨 Latest commit 90c2516
🔍 Latest deploy log https://app.netlify.com/projects/es-eslint/deploys/6a062f034f7ddb00088084cc
😎 Deploy Preview https://deploy-preview-1024--es-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for ja-eslint ready!

Name Link
🔨 Latest commit 90c2516
🔍 Latest deploy log https://app.netlify.com/projects/ja-eslint/deploys/6a062f030d8c1900080995ed
😎 Deploy Preview https://deploy-preview-1024--ja-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for zh-hans-eslint ready!

Name Link
🔨 Latest commit 90c2516
🔍 Latest deploy log https://app.netlify.com/projects/zh-hans-eslint/deploys/6a062f0312aa7b000821a69e
😎 Deploy Preview https://deploy-preview-1024--zh-hans-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for de-eslint ready!

Name Link
🔨 Latest commit 90c2516
🔍 Latest deploy log https://app.netlify.com/projects/de-eslint/deploys/6a062f03e15cfe0008304289
😎 Deploy Preview https://deploy-preview-1024--de-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for fr-eslint ready!

Name Link
🔨 Latest commit 90c2516
🔍 Latest deploy log https://app.netlify.com/projects/fr-eslint/deploys/6a062f034b2df50008aa891e
😎 Deploy Preview https://deploy-preview-1024--fr-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for pt-br-eslint ready!

Name Link
🔨 Latest commit 90c2516
🔍 Latest deploy log https://app.netlify.com/projects/pt-br-eslint/deploys/6a062f030d8c1900080995f3
😎 Deploy Preview https://deploy-preview-1024--pt-br-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@lumirlumir lumirlumir requested a review from Copilot May 7, 2026 11:23
@lumirlumir lumirlumir moved this from Needs Triage to Triaging in Triage May 7, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes two legacy JavaScript asset files that are no longer referenced by the site templates or build pipeline, helping reduce dead code in the repository.

Changes:

  • Deleted src/assets/js/docs-main.js.
  • Deleted src/assets/js/navigation.js.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
src/assets/js/docs-main.js Removed unused legacy docs-related UI scripts.
src/assets/js/navigation.js Removed unused legacy navigation script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@lumirlumir lumirlumir left a comment

Choose a reason for hiding this comment

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

Could the following .docs-main classes also be removed?

I'm not 100% sure, but I can't find any references to this class across the codebases.

Looking through the codebase history, this class appears to be a leftover from https://github.com/eslint/eslint.org/pull/96/changes#diff-6f5ffd52cd13a409b0e4cad66d8414be4140b29ded5b2cdbbd84cedce9617e28.


.docs-main & {
margin: 0 0 2rem;
}

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

Projects

Status: Triaging

Development

Successfully merging this pull request may close these issues.

3 participants