Skip to content

Add suggestions for no-useless-assertion #662

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

Closed
RunDevelopment opened this issue Oct 20, 2023 · 0 comments · Fixed by #666
Closed

Add suggestions for no-useless-assertion #662

RunDevelopment opened this issue Oct 20, 2023 · 0 comments · Fixed by #666
Labels
enhancement New feature or request

Comments

@RunDevelopment
Copy link
Collaborator

Description
Since we know when an assertion always accepts/rejects, we can add a suggestion that removes the asserion/the branch of the assertion.

E.g. /a\Bb/ -> /ab/ and /a|$b/ -> /a/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant