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

no-unused-colocated-location rule #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ImpregnableProgrammer
Copy link
Contributor

Implemented the no-unused-colocated-location rule - will add test cases later; Made minor comment fixes to no-renaming-operator.ts. (I renamed this branch for consistency, which is why the previous version of this pull request was closed). This new rule is quite complex and might require some clarification in terms of the ways messages can be "unwrapped" by recipients before it can be declared fully implemented for closing issue #8.

Implemented the `no-unused-colocated-location` rule - will add test cases later;
Made minor comment fixes to `no-renaming-operator.ts`
@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Merging #30 (a32afbb) into main (da8a029) will increase coverage by 1.23%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   88.48%   89.71%   +1.23%     
==========================================
  Files          19       20       +1     
  Lines         660      749      +89     
  Branches       89      127      +38     
==========================================
+ Hits          584      672      +88     
- Misses         75       76       +1     
  Partials        1        1              
Files Changed Coverage Δ
...plugin-choreography-ts/src/no-renaming-operator.ts 100.00% <ø> (ø)
...horeography-ts/src/no-unused-colocated-location.ts 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Reworked how the rule is implemented to avoid unnecessary checks and checking for messages being returned
Added test cases for complete coverage
@ImpregnableProgrammer ImpregnableProgrammer force-pushed the no-unused-colocated-location branch from 5568c38 to a32afbb Compare August 15, 2023 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant