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

Exclude template-indent from recommended because it's unsafe #1869

Closed
JounQin opened this issue Jul 27, 2022 · 1 comment
Closed

Exclude template-indent from recommended because it's unsafe #1869

JounQin opened this issue Jul 27, 2022 · 1 comment

Comments

@JounQin
Copy link
Contributor

JounQin commented Jul 27, 2022

@fregante
Copy link
Collaborator

If you're having issues with Prettier specifically, I suggest sending a PR to add the rule to https://github.com/prettier/eslint-config-prettier/blob/414495d420fdc3936064e86dc3a5479d60f26bd6/index.js#L143C6-L145

If there's any other specific situation, it can be discussed in detail rather than just linking to other issues.

The rule only applies to "code inside templates" and indentation generally doesn't matter there.

@fregante fregante closed this as not planned Won't fix, can't repro, duplicate, stale Jan 28, 2023
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

2 participants