pi-lens 2.0.4 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-lens",
3
- "version": "2.0.4",
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