From 082bd97ba67d5333b26c9e5a4e83101ed51067c7 Mon Sep 17 00:00:00 2001 From: Alexey Simonenko Date: Fri, 23 Jan 2026 21:33:14 +0300 Subject: [PATCH 01/19] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D0=B0?= =?UTF-8?q?=20=D0=BF=D0=BE=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=B4=D0=B3=D0=B0=D0=B9=D0=B4?= =?UTF-8?q?=D0=B0=20https://github.com/htmlacademy/codeguide/pull/75?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .htmlhintrc | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.htmlhintrc b/.htmlhintrc index b3d5927..65c72df 100644 --- a/.htmlhintrc +++ b/.htmlhintrc @@ -12,13 +12,13 @@ "attr-value-double-quotes": true, "attr-value-not-empty": false, "alt-require": true, - "input-requires-label": false, + "input-requires-label": true, "tags-check": false, "tag-pair": true, "tag-self-close": false, "tagname-lowercase": true, - "empty-tag-not-self-closed": false, + "empty-tag-not-self-closed": true, "src-not-empty": true, "href-abs-or-rel": false, diff --git a/package.json b/package.json index f1507c4..5a24951 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "htmlhint-config-htmlacademy", - "version": "1.0.1", + "version": "1.1.0", "description": "HTML Academy HTMLHint config", "main": "index.js", "scripts": { From 46cfd3b3f8177d3da03266d89251fc13785a916b Mon Sep 17 00:00:00 2001 From: Alexey Simonenko Date: Fri, 23 Jan 2026 21:33:34 +0300 Subject: [PATCH 02/19] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D1=82=D0=B5=D1=81=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/catalog.html | 13 +++++++------ test/index.html | 18 +++++++----------- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/test/catalog.html b/test/catalog.html index 4c00e43..0e48a56 100644 --- a/test/catalog.html +++ b/test/catalog.html @@ -15,8 +15,9 @@ логотип интернет-магазина Девайс - @@ -108,15 +109,15 @@

Фильтр:

-
diff --git a/test/index.html b/test/index.html index 4426943..0ca2fdb 100644 --- a/test/index.html +++ b/test/index.html @@ -16,9 +16,9 @@ логотип интернет-магазина Девайс - @@ -358,17 +358,13 @@

Напишите нам

- + +

From a694198fa942687b4ca15d1a7e04f25813afea72 Mon Sep 17 00:00:00 2001 From: Alexey Simonenko Date: Fri, 23 Jan 2026 21:34:16 +0300 Subject: [PATCH 03/19] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cfd3b28..e0f4000 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,14 @@ # htmlhint-config-htmlacademy -> The standart htmlhint config +> The standard HTMLHint config -## Instalation +## Changelog + +### 1.1.0 +- `head-script-disabled`: `true` → `false` — разрешены скрипты в `` (современные практики с `defer`/`async`) +- `empty-tag-not-self-closed`: `false` → `true` — пустые теги не должны быть самозакрывающимися (`
`, не `
`) +- `input-requires-label`: `false` → `true` — каждый `` должен иметь связанный `

- + From d632683b8768d2456494bd3a419ff378cb8d3ecb Mon Sep 17 00:00:00 2001 From: Alexey Simonenko Date: Fri, 23 Jan 2026 22:55:37 +0300 Subject: [PATCH 06/19] Update docs --- .gitignore | 7 +-- CHANGELOG.md | 18 ++++++++ LICENSE | 2 +- README.md | 123 ++++++++++++++++++++++++++++++++++++++++++++------- package.json | 43 ++++++++---------- 5 files changed, 147 insertions(+), 46 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.gitignore b/.gitignore index cfd1fbc..8d0502c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,6 @@ node_modules/ -yarn.lock .DS_Store Thumbs.db -.idea -*.sublime* .idea/ -*.lock -.publish +*.sublime* +.vscode/ diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4cc9451 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog + +## 2.0.0 + +- Update HTMLHint to 1.8.0 +- `html-lang-require`: `` must have `lang` attribute +- `meta-charset-require`: `` required +- `meta-viewport-require`: `` required +- `main-require`: `
` required on page +- `h1-require`: `

` required on page +- `button-type-require`: `