We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
redundant-existence-check
:= x if x
Something like
package p import rego.v1 x := input.x if input.x
can, and should be, simplified to just
package p import rego.v1 x := input.x
The text was updated successfully, but these errors were encountered:
Extend redundant-existence-check to fail redundant ref checks
2a61785
Fixes #935 Signed-off-by: Anders Eknert <anders@styra.com>
5764af1
Also add end location to this rule's report Fixes #935 Signed-off-by: Anders Eknert <anders@styra.com>
938f98b
Extend redundant-existence-check to fail redundant ref checks (#949)
7bc7868
Successfully merging a pull request may close this issue.
Something like
can, and should be, simplified to just
The text was updated successfully, but these errors were encountered: