Skip to content

Update htmlhint.json#4848

Merged
madskristensen merged 1 commit intoSchemaStore:masterfrom
coliff:patch-1
Jul 14, 2025
Merged

Update htmlhint.json#4848
madskristensen merged 1 commit intoSchemaStore:masterfrom
coliff:patch-1

Conversation

@coliff
Copy link
Copy Markdown
Contributor

@coliff coliff commented Jul 14, 2025

Add additional rules.

Add additional rules
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@madskristensen madskristensen merged commit fd100a6 into SchemaStore:master Jul 14, 2025
5 checks passed
@madskristensen
Copy link
Copy Markdown
Contributor

Thanks

@coliff coliff deleted the patch-1 branch July 15, 2025 00:46
@coliff
Copy link
Copy Markdown
Contributor Author

coliff commented Jul 15, 2025

thanks for the quick review Mads! I have one final change to make on this file but I don't know the exact way to specify it... the rules for attr-lowercase and attr-value-no-duplication should allow a boolean value OR an array. How can we set that?

I asked ChatGPT and it suggested this:

 "attr-lowercase": {
      "description": "Attribute name must be lowercase.",
      "anyOf": [
        { "type": "boolean" },
        { "type": "array" }
      ],
      "default": false
    },

Is that right?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants