slop/emoji-in-code
No emoji in source code
| Severity | info |
| Tiers | all |
| Stacks | any |
| Scope | root |
| Kind | expr |
| Source | library v0.5.0 |
| Selected by | fleetlint-slop@v0.5.0 |
Requirement
Source code, log messages and comments contain no emoji or decorative symbols.
Why
They render inconsistently in terminals and logs and carry no information a word would not.
Check
For each item in:
codegrep("code", r'[\x{1F1E6}-\x{1F1FF}\x{1F300}-\x{1FAFF}\x{2600}-\x{27BF}\x{2B50}]')falseFix
Replace the symbol with a word or remove it.
Agent instruction: Replace each symbol with plain text; keep symbols that are test data.
Sources
Generated by fleetlint docs from catalog v0.5.0.