Skip to content

Allow \n for no-useless-mustaches lint #1201

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

Open
probablykasper opened this issue Apr 18, 2025 · 0 comments
Open

Allow \n for no-useless-mustaches lint #1201

probablykasper opened this issue Apr 18, 2025 · 0 comments
Labels
breaking change enhancement New feature or request
Milestone

Comments

@probablykasper
Copy link

probablykasper commented Apr 18, 2025

Description

Using mustaches for \n makes the markup look nicer (which is not useless), so it would be nice to have this be allowed by default:

<textarea
	placeholder={'A\nB\nC\nD'}
></textarea>
@probablykasper probablykasper added the enhancement New feature or request label Apr 18, 2025
@baseballyama baseballyama added this to the v4 milestone Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants