Skip to content

Conversation

@yeonjuan
Copy link
Member

Prerequisites checklist

What is the purpose of this pull request?

What changes did you make? (Give an overview)

  • Add HTML Ast parser

Related Issues

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

I downloaded the logo image from "https://www.w3.org/html/logo/".

This HTML5 logo is licensed under Creative Commons Attribution 3.0 — all are free to use and reimagine as they see fit.

@netlify
Copy link

netlify bot commented May 11, 2025

Deploy Preview for eslint-code-explorer ready!

Name Link
🔨 Latest commit aaf2e7e
🔍 Latest deploy log https://app.netlify.com/sites/eslint-code-explorer/deploys/682208f0d318a8000887c1de
😎 Deploy Preview https://deploy-preview-99--eslint-code-explorer.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.

@yeonjuan yeonjuan marked this pull request as ready for review May 11, 2025 16:02
},
},
optimizeDeps: {
include: ["@html-eslint/eslint-plugin"],
Copy link
Member Author

Choose a reason for hiding this comment

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

html-eslint is written in commonjs. (https://vite.dev/config/dep-optimization-options)

@lumirlumir lumirlumir added the accepted There is consensus among the team that this change meets the criteria for inclusion label May 12, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage May 12, 2025
@lumirlumir lumirlumir moved this from Needs Triage to Implementing in Triage May 12, 2025
Copy link
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.

Thanks for doing this great work👍

I’ve left a few comments about some missing parts.

<Accordion
type="multiple"
className="px-8 pb-4 font-mono space-y-3 min-w-max"
defaultValue={["0-StyleSheet"]}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
defaultValue={["0-StyleSheet"]}
defaultValue={["0-Program"]}

Oops!

Comment on lines 6 to 9
import { CssAst } from "./css-ast";
import { MarkdownAst } from "./markdown-ast";
import type { FC } from "react";
import { HtmlAst } from "./html-ast";
Copy link
Member

@lumirlumir lumirlumir May 12, 2025

Choose a reason for hiding this comment

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

Suggested change
import { CssAst } from "./css-ast";
import { MarkdownAst } from "./markdown-ast";
import type { FC } from "react";
import { HtmlAst } from "./html-ast";
import { CssAst } from "./css-ast";
import { MarkdownAst } from "./markdown-ast";
import { HtmlAst } from "./html-ast";
import type { FC } from "react";

This is a minor stylistic suggestion. grouping the ***Ast modules together would improve clarity.

yeonjuan and others added 2 commits May 12, 2025 23:42
Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
@yeonjuan yeonjuan requested review from lumirlumir and nzakas May 13, 2025 13:46
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM. Would like @lumirlumir to review before merging.

Copy link
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.

LGTM, Thanks!

@nzakas
Copy link
Member

nzakas commented May 13, 2025

@lumirlumir when you're the last one to review and no one has requested other reviews, you can go ahead and merge PRs. 😄

@lumirlumir lumirlumir merged commit 66e21a6 into eslint:main May 13, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from Implementing to Complete in Triage May 13, 2025
@lumirlumir
Copy link
Member

lumirlumir commented May 13, 2025

@nzakas Thank you! I've merged it.

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 contributor pool feature

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants