1
0
Fork 0
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:
Rohan Kumar 2021-07-31 23:59:43 -07:00
parent 2d908e688d
commit cbb627c16a
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 20 additions and 9 deletions

17
.hintrc
View file

@ -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"
} }
} }

View file

@ -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"
} }
} }