This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat(rome_js_analyze): new lint rule
noExcessiveComplexity
#4657feat(rome_js_analyze): new lint rule
noExcessiveComplexity
#4657Changes from 15 commits
3fc2504
fc417c2
132306d
cc4cac5
bf8c61b
e574f47
7627a3c
8999aa6
01a056e
3d20933
ac0378b
f452605
6f6a5dd
3314c42
b9906a1
25a2b60
0ce0a8e
c04e44e
8afc901
29da7f4
f4b8050
a1ba90d
efcc413
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this function the same as
increases_nesting
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems it is, although it happened by chance, because semantically they're not the same... I'd kinda lean towards leaving them separate, because they might evolve independently still, but otherwise I could merge them and call it
increases_nesting_and_receives_nesting_penalty()
I suppose :)