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

Properly generate a multi-line array for package.json keywords #17

Open
chiubaka opened this issue Jul 5, 2022 · 0 comments
Open

Properly generate a multi-line array for package.json keywords #17

chiubaka opened this issue Jul 5, 2022 · 0 comments
Labels
🍦 P4 Extremely low priority. Probably not worth spending time on right now. 🤑 tech debt Things weighing down the stack over the long-term.

Comments

@chiubaka
Copy link
Owner

chiubaka commented Jul 5, 2022

Tough to justify working on this, as I've found a workaround that doesn't involve a multi-line array, but I've found that it's surprisingly difficult to get the right formatting and indentation for a multi-line array of keywords in EJS.

There's some discussion of how includes don't respect indentation from the included file here, which is semi-relevant.

It's possible I just don't know all that much about EJS, but the one version of this that I was able to get working looked really bad in code, and just wasn't worth the trade-off. It felt like EJS wasn't respecting my indentation choices even inline, and I couldn't quite grok the pattern (or lack thereof) of indentation output based on the code I wrote.

@chiubaka chiubaka added 🤑 tech debt Things weighing down the stack over the long-term. 🍦 P4 Extremely low priority. Probably not worth spending time on right now. labels Jul 5, 2022
@chiubaka chiubaka changed the title Properly generated a multi-line array for package.json keywords Properly generate a multi-line array for package.json keywords Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍦 P4 Extremely low priority. Probably not worth spending time on right now. 🤑 tech debt Things weighing down the stack over the long-term.
Projects
None yet
Development

No branches or pull requests

1 participant