plumber-linter 1.0.0 → 1.0.2

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 +8 -35
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,14 +7,14 @@
7
7
 
8
8
  ---
9
9
 
10
- ## ⚡ Quick Start
10
+ ## Quick Start
11
11
 
12
12
  No global installation required:
13
13
  ```bash
14
14
  # Scan current repository
15
15
  npx plumber-linter scan .
16
16
 
17
- # Enforce quality gate in CI (exit 1 on HIGH or CRITICAL issues)
17
+ # Enforce quality gate (exit 1 on HIGH or CRITICAL issues)
18
18
  npx plumber-linter scan . --fail-on high
19
19
 
20
20
  # Export report as Markdown or JSON
@@ -27,45 +27,18 @@ npx plumber-linter rules
27
27
 
28
28
  ---
29
29
 
30
- ## 🔌 Cursor & Claude Desktop MCP Integration
30
+ ## Claude Code & Cursor
31
31
 
32
- Add Plumber as a Model Context Protocol (MCP) server:
33
-
34
- ```json
35
- {
36
- "mcpServers": {
37
- "plumber": {
38
- "command": "npx",
39
- "args": ["-y", "plumber-linter", "mcp"]
40
- }
41
- }
42
- }
43
- ```
44
-
45
- Now Claude Desktop and Cursor can automatically invoke `plumber_scan` to verify code quality in real time!
46
-
47
- ---
48
-
49
- ## 🤖 Claude Code
32
+ ### Claude Code
50
33
  Add to your project's `CLAUDE.md`:
51
34
  ```bash
52
35
  npx plumber-linter scan . --fail-on high
53
36
  ```
54
37
 
55
- ---
56
-
57
- ## 🚀 GitHub Actions
58
- Add to `.github/workflows/plumber.yml`:
59
- ```yaml
60
- name: Plumber Audit
61
- on: [push, pull_request]
62
-
63
- jobs:
64
- audit:
65
- runs-on: ubuntu-latest
66
- steps:
67
- - uses: actions/checkout@v4
68
- - run: npx plumber-linter scan . --fail-on high
38
+ ### Cursor
39
+ Add to `.cursorrules` and run from the integrated terminal:
40
+ ```bash
41
+ npx plumber-linter scan .
69
42
  ```
70
43
 
71
44
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plumber-linter",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Deterministic Code Leak, Clog, and AI Slop Inspector for the AI-agent era",
5
5
  "main": "bin/plumber.js",
6
6
  "bin": {