-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
revive: cut output from exported rule #1993
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
Labels
enhancement
New feature or improvement
Comments
Hello,
Edit: I'm able to reproduce. |
Do you have other examples? I don't think that cut the source code output is a good idea, but if it's only produced by the |
Hi @ldez ! |
example (code)package somepackage
var DataVar = map[int]string{
1: "s1",
2: "s1",
3: "s1",
4: "s1",
5: "s1",
6: "s1",
7: "s1",
8: "s1",
9: "s1",
10: "s1",
11: "s1",
12: "s1",
13: "s1",
14: "s1",
15: "s1",
16: "s1",
17: "s1",
18: "s1",
19: "s1",
20: "s1",
21: "s1",
22: "s1",
23: "s1",
24: "s1",
25: "s1",
26: "s1",
27: "s1",
28: "s1",
29: "s1",
30: "s1",
31: "s1",
32: "s1",
33: "s1",
34: "s1",
35: "s1",
36: "s1",
37: "s1",
38: "s1",
39: "s1",
} example (.golangci.yaml)linters:
disable-all: true
enable:
- revive
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Hi there, sometimes, output from revive linter is really long, like
e.t.c.
in my opinion it is a bit hard to read. is it possible to cut it?
Describe the solution you'd like
e.g., linter should print up to
x
lines of cod.The text was updated successfully, but these errors were encountered: