Skip to content

v2.0.0: Update rules to match HTML Academy codeguide#2

Merged
meritt merged 19 commits into
mainfrom
next
May 20, 2026
Merged

v2.0.0: Update rules to match HTML Academy codeguide#2
meritt merged 19 commits into
mainfrom
next

Conversation

@meritt

@meritt meritt commented Jan 23, 2026

Copy link
Copy Markdown
Member

Major update of HTMLHint config aligned with htmlacademy/codeguide#75.

New rules:

  • html-lang-require — lang attribute required on <html>
  • meta-charset-require — <meta charset> required
  • meta-viewport-require — <meta viewport> required
  • main-require — <main> tag required
  • h1-require — <h1> tag required
  • button-type-require — type attribute required on <button>
  • form-method-require — method attribute required on <form>
  • attr-sorted — explicitly disabled

Changed rules:

  • input-requires-label: false → true
  • empty-tag-not-self-closed: false → true

Dependencies:

  • HTMLHint: ^0.14.2 → ^1.8.0 (now peerDependency)

@meritt meritt self-assigned this Jan 23, 2026
@meritt

meritt commented Jan 23, 2026

Copy link
Copy Markdown
Member Author

@nikolai-shabalin держи ;)

@nikolai-shabalin

Copy link
Copy Markdown
Contributor

Апруве

@nikolai-shabalin nikolai-shabalin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Давай обновим конечно. Но мне кажется хинтом уже не особо пользуются

@meritt meritt merged commit 0fc4175 into main May 20, 2026
1 check passed
@meritt meritt deleted the next branch May 20, 2026 11:55
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