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

fix(rome_js_analyze): use camel case for class members #3037

Merged
merged 4 commits into from
Aug 11, 2022

Conversation

xunilrj
Copy link
Contributor

@xunilrj xunilrj commented Aug 9, 2022

Summary

Closes #3028.

Test Plan

> cargo test -p rome_js_analyze -- camel

@xunilrj xunilrj requested a review from leops as a code owner August 9, 2022 19:17
@xunilrj xunilrj temporarily deployed to aws August 9, 2022 19:17 Inactive
@xunilrj xunilrj changed the title Fix/use camel case class methods fix(rome_js_analyze): use camel case class methods, properties etc... Aug 9, 2022
@xunilrj xunilrj changed the title fix(rome_js_analyze): use camel case class methods, properties etc... fix(rome_js_analyze): use camel case for class members Aug 9, 2022
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 9, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: cbed0cb
Status: ✅  Deploy successful!
Preview URL: https://3e403fc6.tools-8rn.pages.dev
Branch Preview URL: https://fix-usecamelcase-class-metho.tools-8rn.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented Aug 9, 2022

Some(JsRuleAction {
category: ActionCategory::Refactor,
applicability: Applicability::Always,
message: markup! { "Rename this symbol to camel case" }.to_owned(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this message could be improved slightly by inspecting the surroundings of the binding node to guess a more precise term than "symbol" like "variable", "method", "function", "parameter" ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@xunilrj xunilrj force-pushed the fix/useCamelCase-class-methods branch from d497be5 to 0fe5ab1 Compare August 11, 2022 17:47
@xunilrj xunilrj temporarily deployed to aws August 11, 2022 17:47 Inactive
@xunilrj xunilrj requested a review from a team August 11, 2022 19:18
@xunilrj xunilrj temporarily deployed to aws August 11, 2022 19:18 Inactive
@xunilrj xunilrj merged commit 26f031e into main Aug 11, 2022
@xunilrj xunilrj deleted the fix/useCamelCase-class-methods branch August 11, 2022 20:15
IWANABETHATGUY pushed a commit to IWANABETHATGUY/tools that referenced this pull request Aug 22, 2022
* correctly identify non-camel case named class methods
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 noCamelCase doesn't work on method names
2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载