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

Expose additional data methods #47

Closed
chelnak opened this issue Sep 30, 2022 · 0 comments · Fixed by #48
Closed

Expose additional data methods #47

chelnak opened this issue Sep 30, 2022 · 0 comments · Fixed by #48
Assignees
Labels
feature New feature or request

Comments

@chelnak
Copy link

chelnak commented Sep 30, 2022

Use Case

Currently puppet-lint does not expose the following methods from PuppetLint::Data:

  • array_indexes
  • hash_indexes
  • defaults_indexes
  • function_indexes

Describe the Solution You Would Like

Expose the methods above in PuppetLint::CheckPlugin

@chelnak chelnak added the feature New feature or request label Sep 30, 2022
@chelnak chelnak self-assigned this Sep 30, 2022
chelnak added a commit that referenced this issue Sep 30, 2022
Prior to this commit puppet-lint did not expose
the following methods from `PuppetLint::Data`:

* `array_indexes`
* `hash_indexes`
* `defaults_indexes`
* `function_indexes`

This commit adds public methods to `PuppetLint::CheckPlugin` so that the
methods above are accessible from puppet-lint plugins.
david22swan added a commit that referenced this issue Oct 4, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant