Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions website/src/content/docs/rules/doctype-first.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ Level: <Badge text="Error" variant="danger" />
- `true`: enable rule
- `false`: disable rule

Copy link
Preview

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

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

After removing the valid example section, this code block appears to show an invalid pattern but lacks proper context. Consider adding a section header like '### The following patterns are considered rule violations:' before this example to clarify that this demonstrates what the rule flags as problematic.

Copilot uses AI. Check for mistakes.

### The following patterns are **not** considered rule violations

```html
<!DOCTYPE html>
<html></html>
```

```html
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

While removing a redundant example is a good simplification, the removal of the heading ### The following patterns are **not** considered rule violations leaves this code block without context, making it unclear what the example demonstrates. To improve clarity, it's best to reintroduce a heading for this valid pattern example.

### The following patterns are **not** considered rule violations

```html

<!-- Comment before doctype -->
<!DOCTYPE html>
Expand Down