Automattic / Automattic/harper

cfg (WASM Set RUSTFLAGS="--cfg substrate_runtime" when building for WASM) marked as spelling problem

Open Beginner friendly
#4,106 0 comments 0 reactions 0 assignees View on GitHub
bug false-positive harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
102

Description

**What got flagged?**
cfg

**Why is this incorrect?**
cfg (WASM Set RUSTFLAGS="--cfg substrate_runtime" when building for WASM) marked as spelling problem.

**Example of correct usage:**
No spelling problem.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the spelling check on the issue's example containing `cfg` and the WASM RUSTFLAGS text. Find where spelling candidates are reported and add a regression test for this context; done means `cfg` is no longer flagged while ordinary spelling errors still are.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.