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

fix(useLiteralKeys): don't report quoted member names #3111

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

Conaclos
Copy link
Member

@Conaclos Conaclos commented Jun 7, 2024

Summary

Fix #3085

Note that we still report computed member names that can be simplified. Instead of simplifying to an identifier, we always simplify to a quoted property leaving the removal of the quotes to the formatter.

Test Plan

I updated the tests.

@github-actions github-actions bot added A-Linter Area: linter L-JavaScript Language: JavaScript and super languages A-Changelog Area: changelog labels Jun 7, 2024
Copy link

codspeed-hq bot commented Jun 7, 2024

CodSpeed Performance Report

Merging #3111 will not alter performance

Comparing conaclos/useLiteralKeys-accept-quoted-member-names (e6f010b) with main (7c83e79)

Summary

✅ 92 untouched benchmarks

@Conaclos Conaclos force-pushed the conaclos/useLiteralKeys-accept-quoted-member-names branch from 74f8a0b to e6f010b Compare June 7, 2024 15:08
@github-actions github-actions bot added the A-Formatter Area: formatter label Jun 7, 2024
@Conaclos Conaclos merged commit 15dc839 into main Jun 7, 2024
14 checks passed
@Conaclos Conaclos deleted the conaclos/useLiteralKeys-accept-quoted-member-names branch June 7, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-Formatter Area: formatter A-Linter Area: linter L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

💅 possible difference in scope between biome useliteralkeys and eslint dot-notation rules
1 participant