-
Notifications
You must be signed in to change notification settings - Fork 653
feat(rome_js_analyze): noConfusingArrow #4321
Conversation
✅ Deploy Preview for docs-rometools canceled.Built without sensitive environment variables
|
crates/rome_js_analyze/src/semantic_analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
crates/rome_js_analyze/src/semantic_analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
crates/rome_js_analyze/src/semantic_analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
crates/rome_js_analyze/src/semantic_analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
crates/rome_js_analyze/src/semantic_analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
crates/rome_js_analyze/src/semantic_analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
crates/rome_js_analyze/src/semantic_analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
crates/rome_js_analyze/src/semantic_analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
Thanks for your contribution! This looks good at first glance! |
crates/rome_js_analyze/src/analyzers/nursery/no_confusing_arrow.rs
Outdated
Show resolved
Hide resolved
Our CI check the rules against the code of the website.
The PR should thus fix the code that triggers the rule. The PR should also be rebased against the branch Once these two changes done, I think we can merge it :) |
Rebased & applied the fix to |
I think that |
What I meant is that this lint suggests adding parenthesis while |
We are better off removing the code action for the time being. |
@malobre We recently changed the way to make PRs. Particularly, now PRs need to add a changelog line: https://github.com/rome/tools/blob/main/CONTRIBUTING.md#changelog |
I added a line to the changelog, commented out the action and reverted the changes to Edit: Fixed the commit author, sorry for all the noise |
No problem :) The CI is still failing. Could you set |
Summary
Closes #3931.
Test Plan
just test-lintrule noConfusingArrow
Documentation