Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: htmlhint/HTMLHint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.16.0
Choose a base ref
...
head repository: htmlhint/HTMLHint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.16.1
Choose a head ref
  • 16 commits
  • 6 files changed
  • 4 contributors

Commits on Oct 30, 2021

  1. Update CHANGELOG.md (#700)

    coliff authored Oct 30, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    80243b5 View commit details

Commits on Nov 5, 2021

  1. chore(deps-dev): bump pretty-quick from 2.0.1 to 3.1.1 (#673)

    Bumps [pretty-quick](https://github.com/azz/pretty-quick) from 2.0.1 to 3.1.1.
    - [Release notes](https://github.com/azz/pretty-quick/releases)
    - [Commits](prettier/pretty-quick@v2.0.1...v3.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: pretty-quick
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    473c00c View commit details
  2. chore(deps): bump prismjs from 1.20.0 to 1.25.0 in /website (#705)

    Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.25.0.
    - [Release notes](https://github.com/PrismJS/prism/releases)
    - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
    - [Commits](PrismJS/prism@v1.20.0...v1.25.0)
    
    ---
    updated-dependencies:
    - dependency-name: prismjs
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6e64f4c View commit details
  3. chore(deps-dev): bump eslint from 7.4.0 to 7.32.0 (#702)

    Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.32.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v7.4.0...v7.32.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c2bb461 View commit details
  4. chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /website (#704)

    Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
    - [Release notes](https://github.com/jbgutierrez/path-parse/releases)
    - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)
    
    ---
    updated-dependencies:
    - dependency-name: path-parse
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    290c785 View commit details
  5. chore(deps): bump ws from 6.2.1 to 6.2.2 in /website (#707)

    Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
    - [Release notes](https://github.com/websockets/ws/releases)
    - [Commits](websockets/ws@6.2.1...6.2.2)
    
    ---
    updated-dependencies:
    - dependency-name: ws
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d30a1e7 View commit details
  6. chore(deps): bump postcss from 7.0.30 to 7.0.39 in /website (#708)

    Bumps [postcss](https://github.com/postcss/postcss) from 7.0.30 to 7.0.39.
    - [Release notes](https://github.com/postcss/postcss/releases)
    - [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md)
    - [Commits](postcss/postcss@7.0.30...7.0.39)
    
    ---
    updated-dependencies:
    - dependency-name: postcss
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9f09a72 View commit details
  7. chore(deps): bump url-parse from 1.4.7 to 1.5.3 in /website (#703)

    Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.3.
    - [Release notes](https://github.com/unshiftio/url-parse/releases)
    - [Commits](unshiftio/url-parse@1.4.7...1.5.3)
    
    ---
    updated-dependencies:
    - dependency-name: url-parse
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    593ac56 View commit details
  8. chore(deps): bump color-string from 1.5.3 to 1.6.0 in /website (#706)

    Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.6.0.
    - [Release notes](https://github.com/Qix-/color-string/releases)
    - [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/Qix-/color-string/commits/1.6.0)
    
    ---
    updated-dependencies:
    - dependency-name: color-string
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    37a4d2b View commit details
  9. chore(deps): bump dns-packet from 1.3.1 to 1.3.4 in /website (#710)

    Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
    - [Release notes](https://github.com/mafintosh/dns-packet/releases)
    - [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
    - [Commits](mafintosh/dns-packet@v1.3.1...v1.3.4)
    
    ---
    updated-dependencies:
    - dependency-name: dns-packet
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d8a28ea View commit details
  10. chore(deps): bump ssri from 6.0.1 to 6.0.2 in /website (#711)

    Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
    - [Release notes](https://github.com/npm/ssri/releases)
    - [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
    - [Commits](npm/ssri@v6.0.1...v6.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: ssri
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2561560 View commit details
  11. chore(deps): bump lodash from 4.17.15 to 4.17.21 in /website (#712)

    Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
    - [Release notes](https://github.com/lodash/lodash/releases)
    - [Commits](lodash/lodash@4.17.15...4.17.21)
    
    ---
    updated-dependencies:
    - dependency-name: lodash
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cdba1b3 View commit details
  12. chore(deps): bump y18n from 4.0.0 to 4.0.3 in /website (#713)

    Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
    - [Release notes](https://github.com/yargs/y18n/releases)
    - [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
    - [Commits](yargs/y18n@v4.0.0...y18n-v4.0.3)
    
    ---
    updated-dependencies:
    - dependency-name: y18n
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 5, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f1030e3 View commit details

Commits on Nov 12, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e027f30 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4d702d8 View commit details
  3. chore(release): 0.16.1 [skip ci]

    ## [0.16.1](v0.16.0...v0.16.1) (2021-11-12)
    
    ### Bug Fixes
    
    * tagname-specialchars description ([#714](#714)) ([4d702d8](4d702d8))
    semantic-release-bot committed Nov 12, 2021
    Copy the full SHA
    ec2da2c View commit details
Showing with 431 additions and 410 deletions.
  1. +17 −29 CHANGELOG.md
  2. +1 −1 README.md
  3. +369 −309 package-lock.json
  4. +3 −3 package.json
  5. +1 −1 src/core/rules/tagname-specialchars.ts
  6. +40 −67 website/package-lock.json
46 changes: 17 additions & 29 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,69 +1,61 @@
# [0.16.0](https://github.com/htmlhint/HTMLHint/compare/v0.15.2...v0.16.0) (2021-10-29)

## [0.16.1](https://github.com/htmlhint/HTMLHint/compare/v0.16.0...v0.16.1) (2021-11-12)

### Features

* **rules:** add empty-tag-not-self-closed rule ([#696](https://github.com/htmlhint/HTMLHint/issues/696)) ([ec171ac](https://github.com/htmlhint/HTMLHint/commit/ec171ac847b98f495006845836d17f1d19d79b06)), closes [#311](https://github.com/htmlhint/HTMLHint/issues/311)
### Bug Fixes

# [0.16.0](https://github.com/htmlhint/HTMLHint/compare/v0.15.2...v0.16.0) (2021-10-29)
* tagname-specialchars description ([#714](https://github.com/htmlhint/HTMLHint/issues/714)) ([4d702d8](https://github.com/htmlhint/HTMLHint/commit/4d702d8dfac3431fb71516b1ea3eb97950b63835))

## [0.16.1](https://github.com/htmlhint/HTMLHint/compare/v0.16.0...v0.16.1) (2021-11-12)

### Features

* **rules:** add empty-tag-not-self-closed rule ([#696](https://github.com/htmlhint/HTMLHint/issues/696)) ([ec171ac](https://github.com/htmlhint/HTMLHint/commit/ec171ac847b98f495006845836d17f1d19d79b06)), closes [#311](https://github.com/htmlhint/HTMLHint/issues/311)
### Bug Fixes

## [0.15.2](https://github.com/htmlhint/HTMLHint/compare/v0.15.1...v0.15.2) (2021-09-16)
* tagname-specialchars description ([#714](https://github.com/htmlhint/HTMLHint/issues/714)) ([4d702d8](https://github.com/htmlhint/HTMLHint/commit/4d702d8dfac3431fb71516b1ea3eb97950b63835))

# [0.16.0](https://github.com/htmlhint/HTMLHint/compare/v0.15.2...v0.16.0) (2021-10-29)

### Bug Fixes
### Features

* **htmlhint.ts:** replace deprecated request module with what-wg fetch ([#670](https://github.com/htmlhint/HTMLHint/issues/670)) ([250169d](https://github.com/htmlhint/HTMLHint/commit/250169d9e9ab347e512739d113db2b2da703876c))
* **rules:** add empty-tag-not-self-closed rule ([#696](https://github.com/htmlhint/HTMLHint/issues/696)) ([ec171ac](https://github.com/htmlhint/HTMLHint/commit/ec171ac847b98f495006845836d17f1d19d79b06)), closes [#311](https://github.com/htmlhint/HTMLHint/issues/311)

## [0.15.2](https://github.com/htmlhint/HTMLHint/compare/v0.15.1...v0.15.2) (2021-09-16)


### Bug Fixes

* **htmlhint.ts:** replace deprecated request module with what-wg fetch ([#670](https://github.com/htmlhint/HTMLHint/issues/670)) ([250169d](https://github.com/htmlhint/HTMLHint/commit/250169d9e9ab347e512739d113db2b2da703876c))

## [0.15.1](https://github.com/htmlhint/HTMLHint/compare/v0.15.0...v0.15.1) (2021-06-11)


### Bug Fixes

* Unexpected behavior of the html lang require rule ([#655](https://github.com/htmlhint/HTMLHint/issues/655)) ([068645e](https://github.com/htmlhint/HTMLHint/commit/068645e9111f42adfa0fae0e32e236d88052541c))

# [0.15.0](https://github.com/htmlhint/HTMLHint/compare/v0.14.2...v0.15.0) (2021-06-10)

## [0.15.0](https://github.com/htmlhint/HTMLHint/compare/v0.14.2...v0.15.0) (2021-06-10)

### Features

* **rules:** add html-lang-require rule ([#632](https://github.com/htmlhint/HTMLHint/issues/632)) ([51471a9](https://github.com/htmlhint/HTMLHint/commit/51471a99d2e946c124222f6a74fa3fbd1876ac69))

## [0.14.2](https://github.com/htmlhint/HTMLHint/compare/v0.14.1...v0.14.2) (2020-11-11)


### Bug Fixes

* Link to configuration.md from options page ([#563](https://github.com/htmlhint/HTMLHint/issues/563)) ([9cb0a9c](https://github.com/htmlhint/HTMLHint/commit/9cb0a9c9fcafea4a8c4cd704c66e1faff92ecd7a))

## [0.14.1](https://github.com/htmlhint/HTMLHint/compare/v0.14.0...v0.14.1) (2020-06-25)


### Bug Fixes

* windows path separator ([#443](https://github.com/htmlhint/HTMLHint/issues/443)) ([8048600](https://github.com/htmlhint/HTMLHint/commit/8048600e5b1568d4a4b469e822bd72a94502b242))

# [0.14.0](https://github.com/htmlhint/HTMLHint/compare/v0.13.1...v0.14.0) (2020-05-31)

## [0.14.0](https://github.com/htmlhint/HTMLHint/compare/v0.13.1...v0.14.0) (2020-05-31)

### Features

* use chalk instead of colors ([#433](https://github.com/htmlhint/HTMLHint/issues/433)) ([372dd60](https://github.com/htmlhint/HTMLHint/commit/372dd605e1e4655a5ff4821fcfad9fef9edfb523))

## [0.13.1](https://github.com/htmlhint/HTMLHint/compare/v0.13.0...v0.13.1) (2020-05-31)


### Bug Fixes

* add missing branches to action release ([#425](https://github.com/htmlhint/HTMLHint/issues/425)) ([62c2f3c](https://github.com/htmlhint/HTMLHint/commit/62c2f3c4dbc31235f644da42b1eeccd8d73c83aa))
@@ -97,8 +89,7 @@
* **attr-no-unnecessary-whitespace:** fix when equals symbol in value ([#405](https://github.com/htmlhint/HTMLHint/issues/405)) ([fe4f3c6](https://github.com/htmlhint/HTMLHint/commit/fe4f3c6732d76ec78a19e97d2640e63be3dd6735))
* github token ([18441f6](https://github.com/htmlhint/HTMLHint/commit/18441f6c54fe540ac86cdedbc61846a2662d78c8))

# [0.13.0](https://github.com/htmlhint/HTMLHint/compare/v0.12.2...v0.13.0) (2020-05-18)

## [0.13.0](https://github.com/htmlhint/HTMLHint/compare/v0.12.2...v0.13.0) (2020-05-18)

### Bug Fixes

@@ -107,24 +98,21 @@
* ignore PULL_REQUEST_TEMPLATE.md ([30b0af2](https://github.com/htmlhint/HTMLHint/commit/30b0af2f86a4daa7ef3bd07e91e8220b7d4b75f3))
* use yml in semantic.yml ([86f6700](https://github.com/htmlhint/HTMLHint/commit/86f67007a32f5e978921507c05a2620edc1f9afc))


### Features

* Add tags checking rule - allows specify rules for any tag and validate that ([#384](https://github.com/htmlhint/HTMLHint/issues/384)) ([475aaca](https://github.com/htmlhint/HTMLHint/commit/475aaca431fab90a0ead7b21af7a73d4f0324514))
* added attr-no-unnecessary-whitespace rule ([#385](https://github.com/htmlhint/HTMLHint/issues/385)) ([03bfd4f](https://github.com/htmlhint/HTMLHint/commit/03bfd4f7f6b60543a4253cad74758c794fc8cd18))
* new rule: input-requires-label - All inputs require a label ([#159](https://github.com/htmlhint/HTMLHint/issues/159)) ([5bd40fb](https://github.com/htmlhint/HTMLHint/commit/5bd40fbc06b0d178cff4b9665ca992232dcb1f43))
* new website for htmlhint.com ([#395](https://github.com/htmlhint/HTMLHint/issues/395)) ([5d0d95f](https://github.com/htmlhint/HTMLHint/commit/5d0d95f39dddddf94a22d3c6294e4e50472fa0a0))

# HTMLHint change log

## ver 0.9.14 (2016-5-2)
## 0.9.14 (2016-5-2)

add:

1. cli: support hint for url
2. attr-lowercase: add test case

## ver 0.9.13 (2016-5-1)
## 0.9.13 (2016-5-1)

add:

@@ -194,7 +182,7 @@ fix:
2. Made the descriptions and error messages of rules more clear to people
3. head-script-disabled(fule): No head not result error

## ver 0.9.7 (2015-3-8)
## 0.9.7 (2015-3-8)

fix:

@@ -215,7 +203,7 @@ add:
8. add test spec: Set false to rule
9. add point: load default ruleset when use empty ruleset

## ver 0.9.4 (2013-9-27)
## 0.9.4 (2013-9-27)

1. add rule: src-not-empty

@@ -252,7 +240,7 @@ fix:
<div class=foo">
<div class="foo>

## ver 0.9.1 (2013-3-23)
## 0.9.1 (2013-3-23)

add:

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
</p>

<p align="center">
  <a href="#installation-and-usage">How To Use</a> • <a href="#contributing">Contributing</a> • <a href="https://htmlhint.com">Website</a>
  <a href="#-installation-and-usage">How To Use</a> • <a href="#contributing">Contributing</a> • <a href="https://htmlhint.com">Website</a>
</p>

## Table of Contents
678 changes: 369 additions & 309 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "htmlhint",
"version": "0.16.0",
"version": "0.16.1",
"description": "The Static Code Analysis Tool for your HTML",
"repository": {
"type": "git",
@@ -88,7 +88,7 @@
"@typescript-eslint/parser": "3.10.1",
"commitizen": "^4.2.4",
"commitlint": "^13.1.0",
"eslint": "^7.4.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.4.1",
"expect.js": "0.3.1",
@@ -97,7 +97,7 @@
"mocha": "^9.1.1",
"nyc": "15.1.0",
"prettier": "^2.0.5",
"pretty-quick": "2.0.1",
"pretty-quick": "3.1.1",
"rollup": "2.21.0",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-terser": "6.1.0",
2 changes: 1 addition & 1 deletion src/core/rules/tagname-specialchars.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { Rule } from '../types'

export default {
id: 'tagname-specialchars',
description: 'All html element names must be in lowercase.',
description: 'All special characters must be escaped.',
init(parser, reporter) {
const specialchars = /[^a-zA-Z0-9\-:_]/

107 changes: 40 additions & 67 deletions website/package-lock.json