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

Add functions to ExitOutsideMain rule #5963

Merged
merged 1 commit into from
Apr 5, 2023
Merged

Add functions to ExitOutsideMain rule #5963

merged 1 commit into from
Apr 5, 2023

Conversation

schalkms
Copy link
Member

@schalkms schalkms commented Apr 4, 2023

The following are also considered to be "exit"-functions.

  • Runtime.exit()
  • Runtime.halt()

That's the reason for adding them to be flagged by this rule.

The following are also considered to be "exit"-functions.
* Runtime.exit()
* Runtime.halt()

That's the reason for adding them to be flagged by this rule.
@github-actions github-actions bot added the rules label Apr 4, 2023
@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Merging #5963 (aa2e447) into main (221d701) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #5963      +/-   ##
============================================
+ Coverage     84.48%   84.50%   +0.01%     
- Complexity     3788     3790       +2     
============================================
  Files           546      546              
  Lines         12937    12942       +5     
  Branches       2275     2275              
============================================
+ Hits          10930    10936       +6     
  Misses          877      877              
+ Partials       1130     1129       -1     
Impacted Files Coverage Δ
...ab/arturbosch/detekt/rules/bugs/ExitOutsideMain.kt 88.88% <100.00%> (+11.96%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@BraisGabin BraisGabin added this to the 1.23.0 milestone Apr 4, 2023
@cortinico cortinico merged commit 9c86a81 into main Apr 5, 2023
@cortinico cortinico deleted the ExitOutsideMain branch April 5, 2023 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants