Workiva / Workiva/over_react

Warn when forwarding props, but hard-coding the value of props.className

Open
#591 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-analyzer-plugin
Dominant language
Dart
Stars
432
Forks
57
PR merge metrics
No merged PRs in 30d

Description

with a string instead of utilizing forwardingClassNameBuilder()

Transferred from https://github.com/Workiva/over_react_analyzer_plugin/issues/40

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the analyzer plugin work transferred from over_react_analyzer_plugin issue 40 and search for forwardingClassNameBuilder(). Trace the handling of forwarded props and determine where a hard-coded props.className string should produce a warning; done means the warning is emitted for that case.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
frontend, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.