NAME

Perl::Critic::PJCJ - Perl::Critic policies for code style consistency

VERSION

version v0.3.0

SYNOPSIS

# In your .perlcriticrc file:
include = RequireConsistentQuoting ProhibitLongLines

# Or from the command line:
perlcritic --include RequireConsistentQuoting \
  --include ProhibitLongLines lib/

# Or select the policies by theme:
perlcritic --theme pjcj lib/

DESCRIPTION

This distribution provides Perl::Critic policies for enforcing consistent coding practices in Perl code, including string quoting consistency and line length limits.

POLICIES

Perl::Critic::Policy::ValuesAndExpressions::RequireConsistentQuoting

Enforces consistent and optimal quoting practices through three simple rules: reduce punctuation, prefer interpolated strings, and use bracket delimiters in preference order.

Perl::Critic::Policy::CodeLayout::ProhibitLongLines

Enforces a configurable maximum line length to improve code readability. Lines that exceed the specified limit (default: 80 characters) are flagged as violations. This helps maintain consistent formatting and readability across different display contexts.

AUTHOR

Paul Johnson <paul@pjcj.net>

COPYRIGHT

Copyright 2025 Paul Johnson.

LICENCE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.