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

refactor(noUnusedTemplateLiteral): remove rule sources #3052

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

Conaclos
Copy link
Member

@Conaclos Conaclos commented Jun 3, 2024

Summary

Citing no-useless-template-literals (now renamed no-unnecessary-template-expression) was an error.

The rules are different.
The ESLint rule reports template literals that only use literals in interpolation. It doesn't report a template literal without interpolation.
Our rule outputs an opposite behavior.

Test Plan

CI must pass.

@github-actions github-actions bot added A-CLI Area: CLI A-Linter Area: linter L-JavaScript Language: JavaScript and super languages labels Jun 3, 2024
@Conaclos Conaclos closed this Jun 3, 2024
@Conaclos Conaclos reopened this Jun 3, 2024
@Conaclos Conaclos merged commit f194deb into main Jun 3, 2024
21 of 29 checks passed
@Conaclos Conaclos deleted the conaclos/noUnusedTemplateLiteral/remove-source branch June 3, 2024 20:28
Copy link

codspeed-hq bot commented Jun 3, 2024

CodSpeed Performance Report

Merging #3052 will not alter performance

Comparing conaclos/noUnusedTemplateLiteral/remove-source (2b8c514) with main (dad0fcb)

Summary

✅ 92 untouched benchmarks

@Conaclos Conaclos added the A-Changelog Area: changelog label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-CLI Area: CLI A-Linter Area: linter L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant