Skip to content

Consolidate cSpell words into cspell.json; drop redundant workspace list - #36

Merged
ptr727 merged 2 commits into
developfrom
fix/cspell-consolidate-workspace
Jul 14, 2026
Merged

ptr727 merged 2 commits into
developfrom
fix/cspell-consolidate-workspace

Conversation

@ptr727

@ptr727 ptr727 commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

The externalized cspell.json and the workspace's settings."cSpell.words" had diverged. This consolidates the case-insensitive union of both lists into cspell.json and deletes the now-redundant cSpell.words block from ESPHome-Config.code-workspace.

(a) Words added to cspell.json

  • workspace cSpell.words: 97 entries
  • cspell.json words (before): 148 entries
  • case-insensitive union: 212
  • 64 workspace-only words added to cspell.json (now 212 total). Existing case-insensitive alphabetical order and 2-space indent preserved; version/language/ignorePaths/ignoreRegExpList untouched. The 4 workspace forms whose capitalized variant already existed (adafruit/improv/kincony/konnected -> Adafruit/Improv/Kincony/Konnected) were not duplicated.

(b) Typos fixed in source

None within the two lists. Every "suspicious" token was verified in context and found legitimate, so all were kept (not fixed, not dropped):

  • displayy / fonnt -- deliberate ESPHome ids; source comments state "display as id is reserved" / "font as id is reserved".
  • tempp -- deliberate C++ lambda local in garage-gate-fan-controller.yaml, following the same double-last-letter convention to avoid clashing with the temp sensor id.
  • DARDUINO / DBOARD -- not words: -D compiler-define + ARDUINO_... / BOARD_HAS_PSRAM macros in platformio build_flags.
  • gdov -- Konnected GDOv2-Q product / package id.
  • mulcmu -- GitHub username (mulcmu/esphome-es8388-a1s).
  • adcn -- no occurrence anywhere in the repo (orphan); kept whitelisted rather than guessing.

(c) Flagged for human eyes (left untouched)

No secrets/credentials found. However the broad cspell scan surfaced pre-existing misspellings that are outside this PR's scope (they were in neither word list) and were left untouched:

  • frendly -> should be friendly -- comment in templates/aoycocr-x5p.yaml:3 (# device_frendly_name).
  • Konneckted's -> should be Konnected's -- comment in templates/konnected-blaq.yaml:10.
  • swich -- templates/esp32-s3-wroom-2-n32r8v.yaml:16 and archive/n32r8v-ota-test.yaml:4; this is a verbatim quote of an esp-idf log message, leave as-is.
  • Brand-spelling divergence: README uses "Ayococr" while templates/archive use "Aoycocr"/aoycocr. Both are in source and both stay whitelisted; a maintainer may want to unify.

(d) Lint status (CI parity, cspell :latest)

  • cspell README.md HISTORY.md (the CI gate): 0 issues.
  • Broad cspell "**": dropped from 247 -> 38 issues. The remaining 38 (20 unique words) are exactly the pre-existing gaps in neither list (secplus, gdolib, ledc, LOGI, Screek, sdkconfig, ESPTOOLPY, FLASHSIZE, tsens, Goodnature, heythisisnate, Hotspot, rgbledstatus, nodemcu, bclk, lrclk, nrandell, plus the frendly/Konneckted's/swich noted above). Out of scope for this two-list consolidation; flagged for a follow-up.
  • editorconfig-checker on both changed files: clean.

Files are LF; commit is signed.

The externalized cspell.json and the workspace's settings."cSpell.words"
had diverged. Merge the case-insensitive union of both lists into
cspell.json (64 workspace-only words added, 212 total, existing
case-insensitive alphabetical order preserved) and remove the now-redundant
"cSpell.words" block from ESPHome-Config.code-workspace.

No genuine typos were found within the two lists: displayy/fonnt/tempp are
deliberate ESPHome id/lambda-variable workarounds for reserved names,
DARDUINO/DBOARD are "-D" compiler-flag tokens, gdov is the Konnected GDOv2
product, mulcmu is a GitHub username -- all legitimate, so all kept.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings July 14, 2026 15:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR consolidates Code Spell Checker custom words by merging the previously divergent workspace cSpell.words list into the repo-level cspell.json, then removing the now-redundant workspace word list to keep spellchecking configuration centralized.

Changes:

  • Removed the cSpell.words block from ESPHome-Config.code-workspace.
  • Added the workspace-only words into cspell.json while preserving the existing ordering/formatting and leaving non-word settings untouched.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ESPHome-Config.code-workspace Drops the redundant workspace cSpell.words list so words are managed in one place.
cspell.json Adds the missing workspace words into the repo-level dictionary for consistent CLI/editor behavior.

- aoycocr-x5p.yaml: device_frendly_name -> device_friendly_name (matches
  the actual ${device_friendly_name} substitution and every other template)
- konnected-blaq.yaml: Konneckted's -> Konnected's

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@ptr727
ptr727 merged commit 484838d into develop Jul 14, 2026
@ptr727
ptr727 deleted the fix/cspell-consolidate-workspace branch July 14, 2026 16:37
ptr727 added a commit that referenced this pull request Jul 14, 2026
…ist (#36)

* Consolidate cSpell words into cspell.json; drop redundant workspace list

The externalized cspell.json and the workspace's settings."cSpell.words"
had diverged. Merge the case-insensitive union of both lists into
cspell.json (64 workspace-only words added, 212 total, existing
case-insensitive alphabetical order preserved) and remove the now-redundant
"cSpell.words" block from ESPHome-Config.code-workspace.

No genuine typos were found within the two lists: displayy/fonnt/tempp are
deliberate ESPHome id/lambda-variable workarounds for reserved names,
DARDUINO/DBOARD are "-D" compiler-flag tokens, gdov is the Konnected GDOv2
product, mulcmu is a GitHub username -- all legitimate, so all kept.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* Fix two comment typos surfaced during cspell consolidation

- aoycocr-x5p.yaml: device_frendly_name -> device_friendly_name (matches
  the actual ${device_friendly_name} substitution and every other template)
- konnected-blaq.yaml: Konneckted's -> Konnected's

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
ptr727 added a commit that referenced this pull request Jul 22, 2026
…ist (#36)

* Consolidate cSpell words into cspell.json; drop redundant workspace list

The externalized cspell.json and the workspace's settings."cSpell.words"
had diverged. Merge the case-insensitive union of both lists into
cspell.json (64 workspace-only words added, 212 total, existing
case-insensitive alphabetical order preserved) and remove the now-redundant
"cSpell.words" block from ESPHome-Config.code-workspace.

No genuine typos were found within the two lists: displayy/fonnt/tempp are
deliberate ESPHome id/lambda-variable workarounds for reserved names,
DARDUINO/DBOARD are "-D" compiler-flag tokens, gdov is the Konnected GDOv2
product, mulcmu is a GitHub username -- all legitimate, so all kept.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* Fix two comment typos surfaced during cspell consolidation

- aoycocr-x5p.yaml: device_frendly_name -> device_friendly_name (matches
  the actual ${device_friendly_name} substitution and every other template)
- konnected-blaq.yaml: Konneckted's -> Konnected's

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
ptr727 added a commit that referenced this pull request Jul 22, 2026
…ist (#36)

* Consolidate cSpell words into cspell.json; drop redundant workspace list

The externalized cspell.json and the workspace's settings."cSpell.words"
had diverged. Merge the case-insensitive union of both lists into
cspell.json (64 workspace-only words added, 212 total, existing
case-insensitive alphabetical order preserved) and remove the now-redundant
"cSpell.words" block from ESPHome-Config.code-workspace.

No genuine typos were found within the two lists: displayy/fonnt/tempp are
deliberate ESPHome id/lambda-variable workarounds for reserved names,
DARDUINO/DBOARD are "-D" compiler-flag tokens, gdov is the Konnected GDOv2
product, mulcmu is a GitHub username -- all legitimate, so all kept.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* Fix two comment typos surfaced during cspell consolidation

- aoycocr-x5p.yaml: device_frendly_name -> device_friendly_name (matches
  the actual ${device_friendly_name} substitution and every other template)
- konnected-blaq.yaml: Konneckted's -> Konnected's

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
ptr727 added a commit that referenced this pull request Jul 22, 2026
…ist (#36)

* Consolidate cSpell words into cspell.json; drop redundant workspace list

The externalized cspell.json and the workspace's settings."cSpell.words"
had diverged. Merge the case-insensitive union of both lists into
cspell.json (64 workspace-only words added, 212 total, existing
case-insensitive alphabetical order preserved) and remove the now-redundant
"cSpell.words" block from ESPHome-Config.code-workspace.

No genuine typos were found within the two lists: displayy/fonnt/tempp are
deliberate ESPHome id/lambda-variable workarounds for reserved names,
DARDUINO/DBOARD are "-D" compiler-flag tokens, gdov is the Konnected GDOv2
product, mulcmu is a GitHub username -- all legitimate, so all kept.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* Fix two comment typos surfaced during cspell consolidation

- aoycocr-x5p.yaml: device_frendly_name -> device_friendly_name (matches
  the actual ${device_friendly_name} substitution and every other template)
- konnected-blaq.yaml: Konneckted's -> Konnected's

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
ptr727 added a commit that referenced this pull request Jul 22, 2026
…ist (#36)

* Consolidate cSpell words into cspell.json; drop redundant workspace list

The externalized cspell.json and the workspace's settings."cSpell.words"
had diverged. Merge the case-insensitive union of both lists into
cspell.json (64 workspace-only words added, 212 total, existing
case-insensitive alphabetical order preserved) and remove the now-redundant
"cSpell.words" block from ESPHome-Config.code-workspace.

No genuine typos were found within the two lists: displayy/fonnt/tempp are
deliberate ESPHome id/lambda-variable workarounds for reserved names,
DARDUINO/DBOARD are "-D" compiler-flag tokens, gdov is the Konnected GDOv2
product, mulcmu is a GitHub username -- all legitimate, so all kept.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* Fix two comment typos surfaced during cspell consolidation

- aoycocr-x5p.yaml: device_frendly_name -> device_friendly_name (matches
  the actual ${device_friendly_name} substitution and every other template)
- konnected-blaq.yaml: Konneckted's -> Konnected's

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants