lintpage 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/lintpage.svg)](https://www.npmjs.com/package/lintpage)
5
5
  [![license](https://img.shields.io/npm/l/lintpage.svg)](https://github.com/lintpage/lintpage/blob/main/packages/cli/LICENSE)
6
6
 
7
- CLI tool that audits websites for SEO, accessibility, and performance issues. Catch noindex tag, broken meta tags, missing alt text, slow pages, and security problems before they hurt your rankings.
7
+ CLI tool that audits websites for SEO, accessibility, performance, and AI visibility issues. Catch noindex tags, broken meta tags, missing alt text, slow pages, security problems, and AI crawler blocks before they hurt your rankings and AI search visibility.
8
8
 
9
9
  ## Install
10
10
 
@@ -53,15 +53,18 @@ Exit codes:
53
53
 
54
54
  ## Options
55
55
 
56
- | Flag | Description |
56
+ | Flag | Description |
57
57
  | ------------------- | ------------------------------------------------- |
58
58
  | `--format <format>` | Output format: `text` (default), `json`, `github` |
59
+ | `--config <path>` | Path to a config file |
59
60
  | `--fail-on-warning` | Exit 1 on warnings, not just criticals |
61
+ | `--ai-only` | Run only the AI Visibility module (LP-050–LP-060) |
62
+ | `--skip-ai` | Skip the AI Visibility module |
60
63
  | `--quiet` | Minimal output (counts only) |
61
64
 
62
65
  ## Rules
63
66
 
64
- LintPage checks **60 rules** out of the box across four categories:
67
+ LintPage checks **60 rules** out of the box across five categories:
65
68
 
66
69
  ### Pre-Launch
67
70
 
@@ -132,6 +135,24 @@ LintPage checks **60 rules** out of the box across four categories:
132
135
  | `performance` | INFO | Lazy loading, inline styles, and script count |
133
136
  | `image-dimensions` | INFO | Images have explicit width/height to prevent layout shift |
134
137
 
138
+ ### AI Visibility
139
+
140
+ Probes how AI assistants and crawlers (ChatGPT, Claude, Perplexity, Gemini) see your page — combining `robots.txt` directives with live per-bot fetches to catch silent edge blocks (e.g. Cloudflare's default AI-bot 403). Run these in isolation with `--ai-only`, or skip them with `--skip-ai`.
141
+
142
+ | Rule | Severity | What it checks |
143
+ | ------------------------------- | -------- | ------------------------------------------------------------------- |
144
+ | `ai/all-crawlers-blocked` | CRITICAL | Every tested AI bot is blocked — page is invisible to AI assistants |
145
+ | `ai/gptbot-silent-block` | CRITICAL | robots.txt allows GPTBot but the live fetch is blocked (403/429) |
146
+ | `ai/claudebot-silent-block` | CRITICAL | robots.txt allows ClaudeBot but the live fetch is blocked (403/429) |
147
+ | `ai/perplexitybot-silent-block` | CRITICAL | robots.txt allows PerplexityBot but the live fetch is blocked |
148
+ | `ai/chatgpt-user-blocked` | CRITICAL | ChatGPT-User (live retrieval) cannot reach the page |
149
+ | `ai/claude-user-blocked` | CRITICAL | Claude-User (live retrieval) cannot reach the page |
150
+ | `ai/perplexity-user-blocked` | CRITICAL | Perplexity-User (live retrieval) cannot reach the page |
151
+ | `ai/google-extended-disallowed` | WARNING | Google-Extended (Gemini) disallowed in robots.txt |
152
+ | `ai/applebot-extended-disallowed` | INFO | Applebot-Extended disallowed in robots.txt |
153
+ | `ai/empty-content-to-bot` | WARNING | Bot receives near-empty HTML (content needs JS to render) |
154
+ | `ai/llms-txt-missing` | INFO | No `llms.txt` file found |
155
+
135
156
  ## Verdict
136
157
 
137
158
  LintPage emits one of two verdicts after each scan:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lintpage",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "CLI for LintPage — audit website SEO, accessibility, and performance",
5
5
  "license": "MIT",
6
6
  "bin": {