8000 refactor(booleans): simplify by Haroenv · Pull Request #6604 · algolia/instantsearch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor(booleans): simplify #6604

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

Draft
wants to merge 1 commit into
base: next
Choose a base branch
from
Draft

refactor(booleans): simplify #6604

wants to merge 1 commit into from

Conversation

Haroenv
Copy link
Contributor
@Haroenv Haroenv commented Mar 11, 2025

Summary

Using the https://github.com/azat-io/eslint-plugin-de-morgan plugin, we can simplify a decent amount of complicated boolean conditions.

Result

  • simplify some conditions
  • eslint rule added

Using the https://github.com/azat-io/eslint-plugin-de-morgan plugin, we can simplify a decent amount of complicated boolean conditions.
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 50fe169:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

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
0