mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Update webhint
This commit is contained in:
parent
2d908e688d
commit
cbb627c16a
2 changed files with 20 additions and 9 deletions
17
.hintrc
17
.hintrc
|
@ -29,17 +29,30 @@
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"time",
|
"time",
|
||||||
"picture",
|
"picture",
|
||||||
"meta[name=color-scheme]"
|
"meta[name=color-scheme]",
|
||||||
|
"img[decoding]"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"doctype": "error",
|
"doctype": "error",
|
||||||
"highest-available-document-mode": "off",
|
"highest-available-document-mode": "off",
|
||||||
|
"http-cache": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"maxAgeTarget": 300
|
||||||
|
}
|
||||||
|
],
|
||||||
"http-compression": "off",
|
"http-compression": "off",
|
||||||
"https-only": "error",
|
"https-only": "error",
|
||||||
"manifest-file-extension": "error",
|
"manifest-file-extension": "error",
|
||||||
"manifest-is-valid": "error",
|
"manifest-is-valid": "error",
|
||||||
"performance-budget": "error",
|
"performance-budget": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"connectionType": "3GSlow",
|
||||||
|
"loadTime": 5
|
||||||
|
}
|
||||||
|
],
|
||||||
"ssllabs": "off"
|
"ssllabs": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
12
package.json
12
package.json
|
@ -1,12 +1,10 @@
|
||||||
{
|
{
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@hint/configuration-web-recommended": "^8.2.1",
|
"@hint/formatter-codeframe": "^3.1.22",
|
||||||
"@hint/formatter-codeframe": "^3.1.21",
|
"@hint/hint-doctype": "^3.3.10",
|
||||||
"@hint/hint-axe": "^4.4.3",
|
"@hint/hint-https-only": "^2.4.10",
|
||||||
"@hint/hint-doctype": "^3.3.9",
|
"@hint/hint-performance-budget": "^2.4.10",
|
||||||
"@hint/hint-https-only": "^2.4.9",
|
|
||||||
"@hint/hint-performance-budget": "^2.4.9",
|
|
||||||
"@lhci/cli": "^0.8.0",
|
"@lhci/cli": "^0.8.0",
|
||||||
"hint": "^6.1.3"
|
"hint": "^6.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue