pseolint 0.3.0 → 0.3.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.
- package/README.md +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,8 +46,25 @@ npx pseolint http://localhost:3000 --format html --output report.html
|
|
|
46
46
|
--render Render pages in a browser before auditing
|
|
47
47
|
--browser-ws <url> CDP WebSocket endpoint for rendering
|
|
48
48
|
--no-crawl Disable crawl-based page discovery
|
|
49
|
+
|
|
50
|
+
Safety (v0.3.2+)
|
|
51
|
+
--safe-mode <saas|cli> Preset: "saas" flips guardSsrf + tightens caps;
|
|
52
|
+
"cli" keeps local-friendly defaults.
|
|
53
|
+
--no-respect-robots Audit sitemap URLs even if robots.txt Disallow's
|
|
54
|
+
them (use when auditing your own staging site).
|
|
55
|
+
--no-follow-redirects Return 3xx as-is — report the redirect instead
|
|
56
|
+
of following it.
|
|
57
|
+
|
|
58
|
+
Render-mode analytics (v0.3.1+)
|
|
59
|
+
--analytics <mode> block (default) | allow-first-party | allow.
|
|
60
|
+
Prevents the audit from injecting fake sessions
|
|
61
|
+
into the site owner's GA/Plausible/etc.
|
|
62
|
+
--block-host <host> Extra host substring to block (repeatable).
|
|
49
63
|
```
|
|
50
64
|
|
|
65
|
+
Press `ctrl-C` during an audit to cancel cleanly — in-flight fetches abort,
|
|
66
|
+
partial results are discarded. A second `ctrl-C` within ~1 s forces exit.
|
|
67
|
+
|
|
51
68
|
## Configuration
|
|
52
69
|
|
|
53
70
|
Create `pseolint.config.ts` in your project root:
|