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

Default value of 'format' #7

Closed
GeekRuthie opened this issue Jan 9, 2022 · 2 comments
Closed

Default value of 'format' #7

GeekRuthie opened this issue Jan 9, 2022 · 2 comments

Comments

@GeekRuthie
Copy link

The default value of the format parameter causes Perl::Critic::Policy::ValuesAndExpressions::RequireNumericVersion to scream and cry. I suggest changing the default format to %d.%02d%02d instead.

@yanick
Copy link
Owner

yanick commented Jan 9, 2022

I'm afraid I'll continue to break Perl critic's heart. I am quite in the camp of Major.minor.bump-type of versioning. But I am a magnanimous man 😏, and the format is fully customizable via configuration. So having your own go %d.%02d%02d should be trivial.

@GeekRuthie
Copy link
Author

Fair enough, and already done. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants