Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

refactor(rome_js_analyze): handle string literal names in useNamingCo… #4698

Merged
merged 1 commit into from
Jul 14, 2023
Merged

refactor(rome_js_analyze): handle string literal names in useNamingCo… #4698

merged 1 commit into from
Jul 14, 2023

Conversation

Conaclos
Copy link
Contributor

Summary

This PR improves useNamingConvention by handling string literal names. String literal names that are not identifiers are still ignored.

The following code is now handled:

class A {
  "Y" = 0
}

Test Plan

A new test is included.

@netlify
Copy link

netlify bot commented Jul 14, 2023

Deploy Preview for docs-rometools canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 146f5d5
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/64b135a13b7cbb0008895ce0

@github-actions github-actions bot added the A-Linter Area: linter label Jul 14, 2023
@Conaclos Conaclos merged commit 8234b5f into rome:main Jul 14, 2023
17 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Linter Area: linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants