Linter for limit param number? #5068
-
Are there any linters that can check if a func has too many params? func hello(a,b,c,d,e,f,g,h,i,j,k,m,l,n int) {} or something like: func hi() (int,int,int,int,int,int,int,int,error) {} Am I missing some existed linter? |
Beta Was this translation helpful? Give feedback.
Answered by
webstradev
Oct 14, 2024
Replies: 1 comment 1 reply
-
This already exists within the revive linter. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bombsimon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This already exists within the revive linter.