Skip to content

/attempt #229 - Fix Critical Runtime Bugs: Imports, Selectors, and Type Errors #230

Description

@sivaadityacoder

/attempt #229
Plan (Bug Fixes):
Objective: Fix 197+ critical runtime bugs preventing sparkfun-boards from building and functioning correctly.

Code Changes (TSX):

Fix 3 broken import statements with leading spaces in import paths (SCD40, SCD41, FS3000-1015)
Replace 180+ invalid string literals with proper sel selector objects across 25+ board files
Remove circular self-references from SCD40_D_R1 and SCD41_D_R1 chip definitions
Fix incorrect pinLabel format (number keys → string keys) in STHS34PF80 sensor board
Rename 6+ files violating
biome.json
kebab-case convention
Update all affected imports and references
Verification:

Run npm run format:check to ensure linting passes
Execute verification commands for each bug category
Test affected boards build successfully with npm run tsci-build
Validate connections are properly established with sel selectors
Artifacts:

CRITICAL_BUGS_REPORT.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions