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

Make FunctionParameterCountRule configurable to support inits #1354

Closed
LipYoung opened this issue Mar 14, 2017 · 3 comments
Closed

Make FunctionParameterCountRule configurable to support inits #1354

LipYoung opened this issue Mar 14, 2017 · 3 comments
Labels
enhancement Ideas for improvements of existing features and rules. wontfix Issues that became stale and were auto-closed by a bot.

Comments

@LipYoung
Copy link

dear author:
I use swiftlint in my company's project.This is good library.help me and my colleague more.
but, FunctionParameterCountRule don't detected init constructor func in swift 3 and Xcode 8.
I check source code,it write :

nonTriggeringExamples: [
            "init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}",
            ... ...
        ],

this is very regrettable.
Want add features.Thinks.

I use English small time.very sorry.Thinks your watch.

@marcelofabri
Copy link
Collaborator

This is by design: #544

Although I guess we could make it configurable.

@marcelofabri marcelofabri added the enhancement Ideas for improvements of existing features and rules. label Mar 14, 2017
@LipYoung
Copy link
Author

LipYoung commented Mar 15, 2017

Thanks @marcelofabri .Maybe this is right work.

@marcelofabri marcelofabri changed the title FunctionParameterCountRule don't detected. Make FunctionParameterCountRule configurable to support inits Apr 7, 2017
@stale
Copy link

stale bot commented Nov 8, 2020

This issue has been automatically marked as stale because it has not had any recent activity. Please comment to prevent this issue from being closed. Thank you for your contributions!

@stale stale bot added the wontfix Issues that became stale and were auto-closed by a bot. label Nov 8, 2020
@stale stale bot closed this as completed Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ideas for improvements of existing features and rules. wontfix Issues that became stale and were auto-closed by a bot.
Projects
None yet
Development

No branches or pull requests

2 participants