1
0
mirror of https://github.com/SomboChea/ui synced 2024-12-26 22:24:26 +07:00

chore: add html linter

This commit is contained in:
Juan Picado @jotadeveloper 2020-02-28 08:03:22 +01:00
parent 7cb20fa699
commit 49dd93a971
No known key found for this signature in database
GPG Key ID: 15AA875EF3768142
2 changed files with 56 additions and 1 deletions

View File

@ -19,6 +19,8 @@
"@commitlint/config-conventional": "8.3.4", "@commitlint/config-conventional": "8.3.4",
"@emotion/core": "10.0.22", "@emotion/core": "10.0.22",
"@emotion/styled": "10.0.23", "@emotion/styled": "10.0.23",
"@htmllinter/basic-standard": "0.0.2",
"@htmllinter/core": "0.0.1",
"@material-ui/core": "4.8.0", "@material-ui/core": "4.8.0",
"@material-ui/icons": "4.5.1", "@material-ui/icons": "4.5.1",
"@octokit/rest": "16.35.2", "@octokit/rest": "16.35.2",
@ -175,6 +177,7 @@
"test:size": "bundlesize", "test:size": "bundlesize",
"lint": "npm run lint:js && npm run lint:css && npm run lint:lockfile", "lint": "npm run lint:js && npm run lint:css && npm run lint:lockfile",
"lint:js": "npm run type-check && eslint . --ext .js,.ts,.tsx", "lint:js": "npm run type-check && eslint . --ext .js,.ts,.tsx",
"lint:html": "htmllinter src/template/index.html",
"lint:css": "stylelint \"src/**/styles.ts\"", "lint:css": "stylelint \"src/**/styles.ts\"",
"lint:lockfile": "lockfile-lint --path yarn.lock --type yarn --validate-https --allowed-hosts verdaccio npm yarn", "lint:lockfile": "lockfile-lint --path yarn.lock --type yarn --validate-https --allowed-hosts verdaccio npm yarn",
"coverage:publish": "codecov", "coverage:publish": "codecov",

View File

@ -1733,6 +1733,23 @@
dependencies: dependencies:
"@hapi/hoek" "^8.3.0" "@hapi/hoek" "^8.3.0"
"@htmllinter/basic-standard@0.0.2":
version "0.0.2"
resolved "https://registry.verdaccio.org/@htmllinter%2fbasic-standard/-/basic-standard-0.0.2.tgz#55ed8653793b5c8cf5ae9f021372438d534d8d0a"
integrity sha512-g2wtMFQ6frAatS7g/PKjH7R2lnAJUJR9y9hXVUZlVQiNRINI2uDRGrLm0ejrAUI4za1cgT6VXnAyccn2OxufYw==
dependencies:
"@htmllinter/core" "^0.1.1"
"@htmllinter/core@0.0.1", "@htmllinter/core@^0.1.1":
version "0.0.1"
resolved "https://registry.verdaccio.org/@htmllinter%2fcore/-/core-0.0.1.tgz#b519e3260b66576758357d8b4f8f447053a15184"
integrity sha512-i5n+LNhkudUi+QqYncA/mIGODY0dsCs8pzqXroNCZD4uOBRJH2dhSxVcmTYD6UJOw1u9koD0VK3nc1L/PjSliA==
dependencies:
chalk "^3.0.0"
cli-table3 "^0.5.1"
glob "^7.1.6"
posthtml "^0.12.0"
"@istanbuljs/load-nyc-config@^1.0.0": "@istanbuljs/load-nyc-config@^1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://registry.verdaccio.org/@istanbuljs%2fload-nyc-config/-/load-nyc-config-1.0.0.tgz#10602de5570baea82f8afbfa2630b24e7a8cfe5b" resolved "https://registry.verdaccio.org/@istanbuljs%2fload-nyc-config/-/load-nyc-config-1.0.0.tgz#10602de5570baea82f8afbfa2630b24e7a8cfe5b"
@ -4355,6 +4372,16 @@ cli-spinners@^2.2.0:
resolved "https://registry.verdaccio.org/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77" resolved "https://registry.verdaccio.org/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77"
integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ== integrity sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ==
cli-table3@^0.5.1:
version "0.5.1"
resolved "https://registry.verdaccio.org/cli-table3/-/cli-table3-0.5.1.tgz#0252372d94dfc40dbd8df06005f48f31f656f202"
integrity sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==
dependencies:
object-assign "^4.1.0"
string-width "^2.1.1"
optionalDependencies:
colors "^1.1.2"
cli-truncate@^0.2.1: cli-truncate@^0.2.1:
version "0.2.1" version "0.2.1"
resolved "https://registry.verdaccio.org/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" resolved "https://registry.verdaccio.org/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574"
@ -4535,6 +4562,11 @@ color@^3.0.0:
color-convert "^1.9.1" color-convert "^1.9.1"
color-string "^1.5.2" color-string "^1.5.2"
colors@^1.1.2:
version "1.4.0"
resolved "https://registry.verdaccio.org/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
combined-stream@^1.0.6, combined-stream@~1.0.5, combined-stream@~1.0.6: combined-stream@^1.0.6, combined-stream@~1.0.5, combined-stream@~1.0.6:
version "1.0.8" version "1.0.8"
resolved "https://registry.verdaccio.org/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" resolved "https://registry.verdaccio.org/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
@ -7807,7 +7839,7 @@ html-webpack-plugin@3.2.0:
toposort "^1.0.0" toposort "^1.0.0"
util.promisify "1.0.0" util.promisify "1.0.0"
htmlparser2@^3.10.0, htmlparser2@^3.3.0, htmlparser2@^3.9.1: htmlparser2@^3.10.0, htmlparser2@^3.3.0, htmlparser2@^3.9.1, htmlparser2@^3.9.2:
version "3.10.1" version "3.10.1"
resolved "https://registry.verdaccio.org/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f" resolved "https://registry.verdaccio.org/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f"
integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ== integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==
@ -12120,6 +12152,26 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.16, postcss@^7.0.2
source-map "^0.6.1" source-map "^0.6.1"
supports-color "^6.1.0" supports-color "^6.1.0"
posthtml-parser@^0.4.1:
version "0.4.2"
resolved "https://registry.verdaccio.org/posthtml-parser/-/posthtml-parser-0.4.2.tgz#a132bbdf0cd4bc199d34f322f5c1599385d7c6c1"
integrity sha512-BUIorsYJTvS9UhXxPTzupIztOMVNPa/HtAm9KHni9z6qEfiJ1bpOBL5DfUOL9XAc3XkLIEzBzpph+Zbm4AdRAg==
dependencies:
htmlparser2 "^3.9.2"
posthtml-render@^1.1.5:
version "1.2.0"
resolved "https://registry.verdaccio.org/posthtml-render/-/posthtml-render-1.2.0.tgz#3df0c800a8bbb95af583a94748520469477addf4"
integrity sha512-dQB+hoAKDtnI94RZm/wxBUH9My8OJcXd0uhWmGh2c7tVtQ85A+OS3yCN3LNbFtPz3bViwBJXAeoi+CBGMXM0DA==
posthtml@^0.12.0:
version "0.12.0"
resolved "https://registry.verdaccio.org/posthtml/-/posthtml-0.12.0.tgz#6e2a2fcd774eaed1a419a95c5cc3a92b676a40a6"
integrity sha512-aNUEP/SfKUXAt+ghG51LC5MmafChBZeslVe/SSdfKIgLGUVRE68mrMF4V8XbH07ZifM91tCSuxY3eHIFLlecQw==
dependencies:
posthtml-parser "^0.4.1"
posthtml-render "^1.1.5"
prebuild-install@^5.3.0: prebuild-install@^5.3.0:
version "5.3.2" version "5.3.2"
resolved "https://registry.verdaccio.org/prebuild-install/-/prebuild-install-5.3.2.tgz#6392e9541ac0b879ef0f22b3d65037417eb2035e" resolved "https://registry.verdaccio.org/prebuild-install/-/prebuild-install-5.3.2.tgz#6392e9541ac0b879ef0f22b3d65037417eb2035e"