Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

False positive in ignored-import when importing input (even though you shouldn't) #746

Closed
anderseknert opened this issue May 27, 2024 · 0 comments · Fixed by #747
Closed
Labels
bug Something isn't working rule

Comments

@anderseknert
Copy link
Member

anderseknert commented May 27, 2024

package play

import rego.v1

import input

allow if input

This correctly flags the import of input, but it's not an ignored-import and shouldn't be flagged for that.

@anderseknert anderseknert added bug Something isn't working rule labels May 27, 2024
anderseknert added a commit that referenced this issue May 27, 2024
Fixes #746

Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert added a commit that referenced this issue May 27, 2024
Fixes #746

Signed-off-by: Anders Eknert <anders@styra.com>
srenatus pushed a commit to srenatus/regal that referenced this issue Oct 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working rule
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant