Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Check html language #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Check html language #10

wants to merge 2 commits into from

Conversation

Muhnad
Copy link

@Muhnad Muhnad commented Oct 18, 2017

No description provided.

@arthurdenner
Copy link

Don't forget to add your error on the list in the README file.

Copy link
Contributor

@muan muan left a comment

Choose a reason for hiding this comment

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

There are linters set up in this repository now. Would you also merge master to make sure they passes with the requested changes? Thanks! 🙏🏻

index.js Outdated
@@ -1,4 +1,10 @@
export function scanForProblems(context, logError, options) {
for (const html of document.querySelectorAll('html')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We should query on context not document. Also since html should be the root element, we should look upwards instead of downwards and assume there is only one html.

@keithamus keithamus changed the base branch from master to main August 3, 2020 15:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants