Repository navigation
v0.2.1
Fixes from the first corpus run. Deadhead 0.2.0 linted the home pages of the Tranco top
10,000, and a review of 20 findings per rule found autofixes that changed what a page does,
false positives, and doc claims their sources contradict. No new rules; 203 in all.
Changes that alter fixes
- A
<meta>carrying more than one ofname,property,http-equiv,itempropand
charsetis still reported but never deleted whole: the fix would take a live key with
the dead one (#488). link/href-missingkeeps a link with anidor adata-*attribute, a hook a script
fills (#488).attr/input-number-maxlength-sizefixes only wheremaxlengthis absent: scripts read it
throughmaxLength(#488).link/canonical-qualifiershas no autofix: stripping the qualifier makes Google use the
canonical (#488).meta/http-equiv-x-dns-prefetch-controlfixes what it reports: no engine acts ononor
an empty value (#492).meta/apple-mobile-web-app-status-bar-stylefixes every value it reports (#490).
Changes that alter findings
meta/viewport-valueaccepts WebKit'sshrink-to-fitand numericuser-scalable; on
the top 10,000 it falls from 10.9% of sites to 1.1% (#490).meta/apple-mobile-web-app-status-bar-styleleavesblackandblack-translucent
alone: since iOS 26 every Home Screen site opens as a web app (#490).meta/referrer-valueacceptsorigin-when-crossorigin, a legacy keyword in HTML's
table (#490).attr/script-asyncandattr/script-deferleave an empty script with nosrc, a
placeholder HTML prepares again oncesrcarrives (#488).attr/a-coords-shapereportsshapeonly with an image-map value (#488).meta/http-equiv-x-dns-prefetch-controlreportson, an empty value and a missing
content; any other value is an opt-out in Firefox (#492).head/viewport-missingleaves a desktop page that names its separate mobile URL with
<link rel="alternate" media>(#492).script/json-ld-unescaped-ltreports a literal</, not any<(#494).- Narrowed to what each rule claims (#490, #492):
attr/fetchpriority-value
(empty value),head/base-position(nohref),document/main-multiple(under a
hiddenancestor or a closed dialog),script/json-ld-syntax(empty block),
link/preload-as-missing(preload stylesheet),link/preload-font-crossorigin-missing
(stylesheet URLs),meta/og-name-attribute(withproperty),
meta/http-equiv-unregistered-pragmas(onion-location,x-pjax-version),
attr/list-presentational(ol[type]),link/canonical-relativeand
link/hreflang-relative(URLs trimmed as the URL parser trims them; any scheme is
absolute),head/metadata-position(template contents),meta/charset-value(empty
value) andmeta/title(Swiftype's tags).
ESLint plugin
- Decodes character references in attribute values and text, as the CLI and the
bookmarklet do:type="text/javascript"now reports in ESLint too (#486).