voxpupuli / puppet-lint-strict_indent-check

indent check for puppet-lint
Mozilla Public License 2.0
4 stars 11 forks source link

Error calculating indent. #27

Open hellia-be opened 2 years ago

hellia-be commented 2 years ago

The linter can't calculate the indent on the following code for some reason.

# Matches valid cron hour parameter
#
# Tested with Rubular: https://rubular.com/r/y7jCmNCjgTl4kx
type Simplib::Cron::Hour_entry = Variant[Integer[0,23],Pattern['^(?x)(?:\*|
(?:\*\/(?:[01]?\d|2[0-3]))|
(?:(?:[01]?\d|2[0-3])(?:(?:-(?:[01]?\d|2[0-3]))(?:\/(?:[01]?\d|2[0-3]))?)?)
)$']]

Could someone please advise as this shows as an error in Visual Studio Code currently?