Skip to content

fix(eslint-plugin): handle ternary expressions in queryFn for exhaustive-deps rule #7747

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

Merged
merged 1 commit into from
Jul 17, 2024

fix: handle ternary expressions in queryFn for exhaustive-deps rule

5092530
Select commit
Loading
Failed to load commit list.
Merged

fix(eslint-plugin): handle ternary expressions in queryFn for exhaustive-deps rule #7747

fix: handle ternary expressions in queryFn for exhaustive-deps rule
5092530
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 17, 2024 in 0s

75.00% of diff hit (target 44.56%)

View this Pull Request on Codecov

75.00% of diff hit (target 44.56%)

Annotations

Check warning on line 173 in packages/eslint-plugin-query/src/rules/exhaustive-deps/exhaustive-deps.rule.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/eslint-plugin-query/src/rules/exhaustive-deps/exhaustive-deps.rule.ts#L173

Added line #L173 was not covered by tests

Check warning on line 175 in packages/eslint-plugin-query/src/rules/exhaustive-deps/exhaustive-deps.rule.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/eslint-plugin-query/src/rules/exhaustive-deps/exhaustive-deps.rule.ts#L175

Added line #L175 was not covered by tests