Skip to content

Comments

Add no-emoji-icons lint rule#46

Open
danielchen0 wants to merge 1 commit intomainfrom
add-no-emoji-icons-rule
Open

Add no-emoji-icons lint rule#46
danielchen0 wants to merge 1 commit intomainfrom
add-no-emoji-icons-rule

Conversation

@danielchen0
Copy link
Collaborator

Summary

  • Adds no-emoji-icons rule that flags emoji characters in JSXText and StringLiteral nodes
  • Recommends using lucide-react / lucide-react-native icon libraries instead
  • Universal rule (all platforms), severity: warning

Test plan

  • 6 new tests covering emoji in JSX text, string attributes, multiple occurrences, and clean passes
  • npm test — 349 tests pass
  • npm run build — compiles cleanly
  • npm run lint — 0 errors

Flag emoji characters in JSX text and string literals, recommending
lucide-react / lucide-react-native icons instead.
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.

1 participant