mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-09 16:02:10 +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": [
|
||||
"time",
|
||||
"picture",
|
||||
"meta[name=color-scheme]"
|
||||
"meta[name=color-scheme]",
|
||||
"img[decoding]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"doctype": "error",
|
||||
"highest-available-document-mode": "off",
|
||||
"http-cache": [
|
||||
"error",
|
||||
{
|
||||
"maxAgeTarget": 300
|
||||
}
|
||||
],
|
||||
"http-compression": "off",
|
||||
"https-only": "error",
|
||||
"manifest-file-extension": "error",
|
||||
"manifest-is-valid": "error",
|
||||
"performance-budget": "error",
|
||||
"performance-budget": [
|
||||
"error",
|
||||
{
|
||||
"connectionType": "3GSlow",
|
||||
"loadTime": 5
|
||||
}
|
||||
],
|
||||
"ssllabs": "off"
|
||||
}
|
||||
}
|
||||
|
|
12
package.json
12
package.json
|
@ -1,12 +1,10 @@
|
|||
{
|
||||
"devDependencies": {
|
||||
"@hint/configuration-web-recommended": "^8.2.1",
|
||||
"@hint/formatter-codeframe": "^3.1.21",
|
||||
"@hint/hint-axe": "^4.4.3",
|
||||
"@hint/hint-doctype": "^3.3.9",
|
||||
"@hint/hint-https-only": "^2.4.9",
|
||||
"@hint/hint-performance-budget": "^2.4.9",
|
||||
"@hint/formatter-codeframe": "^3.1.22",
|
||||
"@hint/hint-doctype": "^3.3.10",
|
||||
"@hint/hint-https-only": "^2.4.10",
|
||||
"@hint/hint-performance-budget": "^2.4.10",
|
||||
"@lhci/cli": "^0.8.0",
|
||||
"hint": "^6.1.3"
|
||||
"hint": "^6.1.4"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue