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

Add "FunctionName" alias for suppressing "FunctionNaming" rule #882

Closed
Mishkun opened this issue Apr 26, 2018 · 2 comments
Closed

Add "FunctionName" alias for suppressing "FunctionNaming" rule #882

Mishkun opened this issue Apr 26, 2018 · 2 comments

Comments

@Mishkun
Copy link
Contributor

Mishkun commented Apr 26, 2018

Expected Behavior

I wonder if we can add "FunctionName" alias for suppressing "FunctionNaming" rule. This would be great for suppressing IntelliJ lint and detekt at the same time. It would be also great if I can do it without making a pull-request, (by config, for example)

Current Behavior

Now it is required to use @Suppress("FunctionName", "FunctionNaming") to work

Context

I'm building small dsl where some functions will start from uppercase letters, but still want other functions in my project to obey the rule

@arturbosch
Copy link
Member

Are there in Lint also other rules as EnumName, Classname etc which we should also add as aliases?
Unfortunately detekt's aliases feature is not configurable :/ but adding such names are not a big thing.

arturbosch added a commit that referenced this issue Apr 28, 2018
arturbosch added a commit that referenced this issue Apr 28, 2018
arturbosch added a commit that referenced this issue May 8, 2018
@arturbosch arturbosch added this to the RC7-2 milestone Jun 1, 2018
@lock
Copy link

lock bot commented Jun 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants