v0.0.186
Release notes
Five more rules, landed together in one batch: a page that still answers 5xx is now a finding, typography slips such as mixed quotes and double spaces get flagged, pages whose navigation drifted from the rest of the site stand out, generic "click here" anchors are measured as a share of the whole site, and an advisory check spots question headings that never get to the point. The new server errors rule judges a site only on a complete crawl, so quick and surface audits show it as not checked. That takes squirrelscan to 350+ rules.
Added
- New rule
content/typography: flags typographic inconsistencies in body copy: repeated spaces between words, straight and curly quotes or apostrophes mixed on one page, a space before, . ; : ! ?, and--used where a dash was meant. Text inside<pre>,<code>,<samp>and<kbd>is never read. The space-before-punctuation check is not run for French and related locales, nor for a page with nolang. It is an info rule with weight 1 and a warning at most (a fail only at 20 or more occurrences), so it cannot move the score more than any other info-class rule. See content/typography. (squirrelscan/repo#1358) - New rule
links/nav-set-divergence: flags pages whose navigation is missing links the rest of the site has: a landing page built outside the shared layout, an older template, a header or footer include that failed to render. The norm is every internal header, navigation and footer link carried by at least 70% of the pages, and it must be shared by at least 70% of them to count. A page missing norm links is reported with the exact hrefs (a warning, or a failure when it is missing at least half the norm). A section with its own navigation, such as a docs sidebar, is compared within its page type and is not flagged against the marketing nav, and a localized section (/fr/,/de/) is compared within its own locale. The rule skips a crawl under 10 pages, under 10 pages with navigation links, or with no clear norm. It is a normal local rule: no model, no account, no surcharge. The per-page set is stored inpage_features.nav_link_set(schema version 45) so the streaming and legacy paths give the same answer. See links/nav-set-divergence. (squirrelscan/repo#1370) - New rule
links/generic-anchor-density: measures generic anchor text ("click here", "read more", "learn more", "here", "this page") as a site-wide share of internal content anchors, not a per-page note. It warns at 20% and fails at 40% by default (warnRatio,failRatio), lists the ten pages with the most generic anchors, and skips a crawl with fewer than 30 anchors (minAnchors). Nav, header, footer and aside links are not counted. The generic phrase list is now shared withlinks/anchor-textanda11y/link-text, which both gainthis page. See links/generic-anchor-density. (squirrelscan/repo#1387) - New rule
crawl/server-errorsfails once per crawled page whose final response is 5xx, listing the URL and status code. A page that errors and then answers on a retry is stored as the healthy page it became and is not reported. A page still 5xx after the retries is now stored as an error page so the rule can see it. Throttled responses (429, or a 503 withRetry-After) are not server errors. A crawl that stopped at its page cap or left URLs queued reports the 5xx pages it did fetch but is not counted as clean, since a page it never reached may still be failing. The same holds for a crawl that gave up on some pages (a timeout, a refused connection, a body it could not read): it is listed as not checked with the reasonpages-not-fetched(squirrelscan/repo#2036). - New rule
ax/answer-blocks, an advisory rule for content pages. It lists question headings (h2toh4ending in a question mark) with no short, self-contained answer in the first two sentences, and data tables or charts with no source next to them. It isinfoseverity, so it never changes the score. The Agents section of the console, text, markdown and HTML reports now carries one line that links to the existing date, author and citation rules (eeat/content-dates,content/freshness,content/date-agreement,eeat/author-byline,eeat/author-expertise,eeat/citations) with their status, without repeating their findings. See ax/answer-blocks. (squirrelscan/repo#3882)
Docs
- Rule totals say 350+. With
crawl/server-errorsthe live total reaches 350 enabled rules, so the README, the docs and the npm and plugin descriptions now state 350+ (squirrelscan/repo#2036).
Update to this version
squirrelscan will auto-update, or run this command to update now.