PerlDancer / PerlDancer/Dancer2

Perl::Critic policy

Open
#1,263 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
Perl
Stars
604
Forks
288
Avg merge
1d 5h
Merged PRs (30d)
5

Description

I had worked in the past on a Perl::Lint policy. It's available here.

I want to use this ticket to collect what this should include (possibly multiple policies) so it could be coordinated, documented, and written:

  • Detect and forbid param and params. (params('query') can be identified to recommend query_parameters instead.)
  • Detect and forbid dance. (Suggest to_app instead.)
  • ProhibitObsoleteImport: detects old import options.
  • ProhibitObsoleteKeywords: detects keywords that are no longer supported.
  • SuperfluousReturn: return send_error(...); or return redirect(...);.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Perl::Lint policy and the policy cases listed in this issue. Decide how the requested checks should be grouped, coordinated, documented, and written. Done means the selected policies are agreed on, documented, and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.