Skip to content
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

Rule to enforce usage of ifAssociativeArray #142

Open
TwitchBronBron opened this issue Feb 26, 2025 · 0 comments
Open

Rule to enforce usage of ifAssociativeArray #142

TwitchBronBron opened this issue Feb 26, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@TwitchBronBron
Copy link
Member

TwitchBronBron commented Feb 26, 2025

Sometimes you need to do things like aa.Keys() but the AA has its own keys property. There should be a lint rule to enforce explicit usage of .ifAssociativeArray (or other similar interfaces).

So:

aa.ifAssociativeArray.keys()

This probably depends on the v1 type system

@TwitchBronBron TwitchBronBron added the enhancement New feature or request label Feb 26, 2025
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

No branches or pull requests

1 participant