Skip to content

Conversation

kenyon
Copy link

@kenyon kenyon commented Mar 7, 2025

  • lexer: use multiple lines for the data type list
  • lexer: add missing abstract data types

Summary

Same as #216 and #224, these abstract data types were missing from the lexer.

Copy link

@LukasAud LukasAud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LukasAud LukasAud merged commit 25825df into puppetlabs:main Mar 19, 2025
8 checks passed
@bastelfreak bastelfreak added the feature New feature or request label Sep 23, 2025
bastelfreak added a commit to bastelfreak/voxpupuli-puppet-lint-plugins that referenced this pull request Sep 25, 2025
This pulls in three bigger changes in puppet-lint:
* Avoid using the manifest lexer on YAML [#239](puppetlabs/puppet-lint#239) (tokenrove)
* Add abstract data types to lexer type tokens list [#240](puppetlabs/puppet-lint#240) (kenyon)
* Fix Ensure check methods can't modify tokens array and add Ruby 3.4 testing [#233](puppetlabs/puppet-lint#233) (alexjfisher)

In a previous PR, voxpupuli#64, we switched to Ruby 3.2 as a minimal Ruby version.
The new puppet-lint release did a Ruby version bump.
We don't want to end up in a situation where different users have
different ruby versions, which leads to different puppet-lint versions,
which leads to different linting of your puppet code.

Because of that, we cannot allow puppet-lint 4 & 5, but have to pint to
5.1 (5.0 doesn't support Ruby 3.4).

All puppet-lint plugins were also updated for puppet-lint 5.1, which
also required major releases.
bastelfreak added a commit to bastelfreak/voxpupuli-puppet-lint-plugins that referenced this pull request Sep 25, 2025
This pulls in three bigger changes in puppet-lint:
* Avoid using the manifest lexer on YAML [#239](puppetlabs/puppet-lint#239) (tokenrove)
* Add abstract data types to lexer type tokens list [#240](puppetlabs/puppet-lint#240) (kenyon)
* Fix Ensure check methods can't modify tokens array and add Ruby 3.4 testing [#233](puppetlabs/puppet-lint#233) (alexjfisher)

In a previous PR, voxpupuli#64, we switched to Ruby 3.2 as a minimal Ruby version.
The new puppet-lint release did a Ruby version bump.
We don't want to end up in a situation where different users have
different ruby versions, which leads to different puppet-lint versions,
which leads to different linting of your puppet code.

Because of that, we cannot allow puppet-lint 4 & 5, but have to pint to
5.1 (5.0 doesn't support Ruby 3.4).

All puppet-lint plugins were also updated for puppet-lint 5.1, which
also required major releases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants