From fef8571e40c54c2f057340eb33a1b4442c362540 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Tue, 29 Jun 2021 23:54:55 -0700 Subject: [PATCH] Update tooling --- .browserslistrc | 1 - .hintrc | 3 +-- Makefile.online | 2 +- budget.json | 8 ++++---- lychee.toml | 3 +-- package.json | 15 ++++++++------- 6 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.browserslistrc b/.browserslistrc index f86b9cb..315e679 100644 --- a/.browserslistrc +++ b/.browserslistrc @@ -9,5 +9,4 @@ last 5 versions Firefox ESR not dead -dead IE 9-11 diff --git a/.hintrc b/.hintrc index aee29fa..99673e9 100644 --- a/.hintrc +++ b/.hintrc @@ -15,7 +15,6 @@ "hints": { "apple-touch-icons": "off", "axe/aria": "off", - "axe/other": "error", "compat-api/css": [ "error", { @@ -36,7 +35,7 @@ ], "doctype": "error", "highest-available-document-mode": "off", - "http-compression": "error", + "http-compression": "off", "https-only": "error", "manifest-file-extension": "error", "manifest-is-valid": "error", diff --git a/Makefile.online b/Makefile.online index b4300de..6f1524e 100644 --- a/Makefile.online +++ b/Makefile.online @@ -5,7 +5,7 @@ PAGE_PATH = / SCHEME=https:// URL = $(SCHEME)$(DOMAIN)$(PAGE_PATH) # latest bleeding-edge chromium snapshot -CHROME_PATH = /home/rkumar/Executables/ghq/github.com/chromium-unofficial-latest-linux/chromium-latest-linux/latest/chrome +CHROME_PATH = /home/rkumar/Executables/ghq/github.com/chromium-unofficial-latest-linux/chromium-latest-linux/latest/chrome-linux/chrome CHROME_PROFILE = /tmp/chrome-lighthouse CHROME_FLAGS += --headless --disable-extensions --no-sandbox --no-first-run --user-data-dir=$(CHROME_PROFILE) CPU_SLOWDOWN=2.4 diff --git a/budget.json b/budget.json index 8747779..f472859 100644 --- a/budget.json +++ b/budget.json @@ -27,19 +27,19 @@ "resourceSizes": [ { "resourceType": "total", - "budget": 100 + "budget": 60 }, { "resourceType": "document", - "budget": 30 + "budget": 40 }, { "resourceType": "image", - "budget": 70 + "budget": 35 }, { "resourceType": "stylesheet", - "budget": 5 + "budget": 1 } ], "resourceCounts": [ diff --git a/lychee.toml b/lychee.toml index bfe01c5..5dba2d5 100644 --- a/lychee.toml +++ b/lychee.toml @@ -4,6 +4,5 @@ exclude = [ "^gemini://.*", "mailto:.*", "git@git.*", - "*.onion", - "*.onion/*", + ".*.onion.*", ] diff --git a/package.json b/package.json index 438e23c..642ca71 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "devDependencies": { - "@hint/configuration-web-recommended": "^8.1.0", - "@hint/formatter-codeframe": "^3.1.19", - "@hint/hint-doctype": "^3.3.7", - "@hint/hint-https-only": "^2.4.7", - "@hint/hint-performance-budget": "^2.4.7", - "@lhci/cli": "^0.6.1", - "hint": "^6.1.1" + "@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", + "@lhci/cli": "^0.8.0", + "hint": "^6.1.3" } }