pi-lens
Version:
Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo
14 lines (13 loc) • 360 B
YAML
id: no-shape-in-symbol-names
valid:
- "const manifest = 1;"
- "interface I { name: string; }"
- "type Manifest = 1;"
invalid:
- "const shape = 1;"
- "const packageJsonShape = 1;"
- "class C { shapeField = 1; }"
- "class C { #shapeField = 1; }"
- "interface I { shapeProp: string; }"
- "type PackageJsonShape = 1;"
- "function reshape() {}"