pi-lens 2.0.3 → 2.0.5

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/index.ts CHANGED
@@ -251,6 +251,7 @@ export default function (pi: ExtensionAPI) {
251
251
  encoding: "utf-8",
252
252
  timeout: 30000,
253
253
  shell: true,
254
+ maxBuffer: 32 * 1024 * 1024, // 32MB
254
255
  });
255
256
 
256
257
  const output = result.stdout || result.stderr || "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-lens",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Real-time code feedback for pi — TypeScript LSP, Biome, ast-grep, Ruff, TODO scanner, dead code, duplicate detection, type coverage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -7,3 +7,10 @@ note: |
7
7
  Consider grouping related params into an options object or configuration.
8
8
  rule:
9
9
  kind: formal_parameters
10
+ all:
11
+ - has:
12
+ kind: required_parameter
13
+ - has:
14
+ nthChild:
15
+ position: 5
16
+ ofKind: required_parameter
@@ -1,9 +0,0 @@
1
- id: magic-numbers
2
- language: TypeScript
3
- message: "Magic number detected — use a named constant"
4
- severity: hint
5
- note: |
6
- Hardcoded numbers make code harder to understand and maintain.
7
- Extract to a named constant with a descriptive name.
8
- rule:
9
- kind: number