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

rulegen: support outdent and dedent tagged template expressions #6645

Open
camchenry opened this issue Oct 17, 2024 · 0 comments
Open

rulegen: support outdent and dedent tagged template expressions #6645

camchenry opened this issue Oct 17, 2024 · 0 comments
Labels
A-linter Area - Linter

Comments

@camchenry
Copy link
Collaborator

Currently, we filter out any test cases which use the outdent and dedent functions, which are sometimes used for unicorn and typescriot-eslint rule tests. This means that we are likely missing many test cases from our rule testing. We should implement our own version of dedent and outdent so that we can import these test cases as well:

if expr.tag.is_specific_id("dedent") || expr.tag.is_specific_id("outdent") {

@camchenry camchenry added the A-linter Area - Linter label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter
Projects
None yet
Development

No branches or pull requests

1 participant