alibaba / alibaba/p3c

How can I use my custom rule which is similar to defined rule?

Open
#989 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
30.8k
Forks
8k
PR merge metrics
No merged PRs in 30d

Description

I want to add a new Rule to this plugin. The rule is based on the Methods which should be named in lowerCamelCase style. I noticed that it is already defined in the rule. However, the rule's implementation is different than the defined rule.

How can I suppress the defined the rule and use my own custom rule?

Can you help me which way I should use with providing the code example if possible?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by locating the existing lowerCamelCase rule and the plugin's custom-rule configuration path, then determine how an overlapping rule can be suppressed or replaced. Done means the supported approach is documented with a working code example.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.