enhance-dev / enhance-dev/arc-plugin-enhance

Warn about non-string values passed to enhance

Open
#113 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Multiple users have asked for help (warnings etc.) when passing strings to enhance for rendering.
The two common requests are help when forgetting to join arrays, and passing strings as attributes that need to be quoted.

[enhance discord thread](https://discord.com/channels/1012099764713705472/1203082774572179597/1203085963983593522
)
> Benanna19 OP — Today at 4:14 PM
> Two things that I think would make quality of life easier for me, so maybe a bit selfish haha, is having some type of linting to:
>
> 1) remind me to use the .join("\n") on lists
> 2) scream at me when I don't pass values correctly.
>
> I'm sure if I could get to a place of spending more time with enhance than with other tools this wouldn't be a problem. I can dream haha

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.