Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about non-string values passed to enhance #113

Open
ryanbethel opened this issue Feb 2, 2024 · 0 comments
Open

Warn about non-string values passed to enhance #113

ryanbethel opened this issue Feb 2, 2024 · 0 comments

Comments

@ryanbethel
Copy link
Contributor

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

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

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

No branches or pull requests

1 participant