diff --git a/.hintrc b/.hintrc index 99673e9..d5798e2 100644 --- a/.hintrc +++ b/.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" } } diff --git a/package.json b/package.json index 642ca71..772ee21 100644 --- a/package.json +++ b/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" } }