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

feat(lint/noConstantCondition): allow while(true) #25

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

Conaclos
Copy link
Member

Summary

This implements what we discuss in rome#4746.
while (true) {} is now ignored by noConstantCondition.

Test Plan

Updated tests.

@Conaclos Conaclos temporarily deployed to Website deployment August 20, 2023 22:47 — with GitHub Actions Inactive
@github-actions github-actions bot added A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages labels Aug 20, 2023
@Conaclos Conaclos added this to the Backlog milestone Aug 20, 2023
@ematipico ematipico changed the title efactor(lint/noConstantCondition): allow while(true) feat(lint/noConstantCondition): allow while(true) Aug 21, 2023
@ematipico
Copy link
Member

Could you update the description of the issue, and add something about the added code action?

@Conaclos Conaclos force-pushed the conaclos/noConstantCondition/whileTrue branch 2 times, most recently from 42613ab to 0d8fa78 Compare August 22, 2023 13:34
@Conaclos Conaclos temporarily deployed to Website deployment August 22, 2023 13:34 — with GitHub Actions Inactive
@Conaclos Conaclos force-pushed the conaclos/noConstantCondition/whileTrue branch from 0d8fa78 to dcba347 Compare August 22, 2023 13:36
@Conaclos Conaclos temporarily deployed to Website deployment August 22, 2023 13:36 — with GitHub Actions Inactive
@Conaclos Conaclos force-pushed the conaclos/noConstantCondition/whileTrue branch from dcba347 to aa67114 Compare August 22, 2023 13:41
@Conaclos Conaclos temporarily deployed to Website deployment August 22, 2023 13:41 — with GitHub Actions Inactive
@Conaclos Conaclos force-pushed the conaclos/noConstantCondition/whileTrue branch from aa67114 to abbd3d1 Compare August 22, 2023 21:36
@Conaclos Conaclos temporarily deployed to Website deployment August 22, 2023 21:36 — with GitHub Actions Inactive
@Conaclos Conaclos merged commit 012ebb3 into main Aug 22, 2023
17 checks passed
@Conaclos Conaclos deleted the conaclos/noConstantCondition/whileTrue branch August 22, 2023 21:55
@Conaclos Conaclos added the A-Changelog Area: changelog label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants