-
-
Notifications
You must be signed in to change notification settings - Fork 424
Update doctype-first.mdx #1735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update doctype-first.mdx #1735
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,6 @@ Level: <Badge text="Error" variant="danger" /> | |
- `true`: enable rule | ||
- `false`: disable rule | ||
|
||
### The following patterns are **not** considered rule violations | ||
|
||
```html | ||
<!DOCTYPE html> | ||
<html></html> | ||
``` | ||
|
||
```html | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While removing a redundant example is a good simplification, the removal of the heading
|
||
<!-- Comment before doctype --> | ||
<!DOCTYPE html> | ||
|
There was a problem hiding this comment.
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.