-
Notifications
You must be signed in to change notification settings - Fork 11
/
staticcheck.out
59 lines (59 loc) · 5.92 KB
/
staticcheck.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
api/github/github.go:62:13: error strings should not be capitalized (ST1005)
api/github/github.go:62:13: error strings should not end with punctuation or newlines (ST1005)
api/learn/learn.go:81:15: error strings should not be capitalized (ST1005)
api/learn/learn.go:81:15: error strings should not end with punctuation or newlines (ST1005)
api/learn/learn.go:102:15: error strings should not be capitalized (ST1005)
api/learn/preview.go:63:16: error strings should not be capitalized (ST1005)
app/cmd/config.go:9:2: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
app/cmd/config.go:230:18: error strings should not be capitalized (ST1005)
app/cmd/config.go:230:18: error strings should not end with punctuation or newlines (ST1005)
app/cmd/config.go:361:41: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (SA1019)
app/cmd/config.go:405:16: error strings should not be capitalized (ST1005)
app/cmd/config.go:439:24: error strings should not be capitalized (ST1005)
app/cmd/config.go:454:10: error strings should not end with punctuation or newlines (ST1005)
app/cmd/config_test.go:5:2: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
app/cmd/guide.go:163:11: error strings should not be capitalized (ST1005)
app/cmd/guide.go:163:11: error strings should not end with punctuation or newlines (ST1005)
app/cmd/markdown.go:60:18: error strings should not be capitalized (ST1005)
app/cmd/markdown.go:60:18: error strings should not end with punctuation or newlines (ST1005)
app/cmd/markdown.go:106:10: error strings should not end with punctuation or newlines (ST1005)
app/cmd/markdown.go:111:10: error strings should not end with punctuation or newlines (ST1005)
app/cmd/markdown.go:114:10: error strings should not end with punctuation or newlines (ST1005)
app/cmd/markdown.go:119:10: error strings should not be capitalized (ST1005)
app/cmd/markdown.go:119:10: error strings should not end with punctuation or newlines (ST1005)
app/cmd/markdown.go:126:11: error strings should not be capitalized (ST1005)
app/cmd/markdown.go:126:11: error strings should not end with punctuation or newlines (ST1005)
app/cmd/markdown.go:131:11: error strings should not be capitalized (ST1005)
app/cmd/markdown.go:131:11: error strings should not end with punctuation or newlines (ST1005)
app/cmd/preview.go:11:2: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
app/cmd/preview.go:63:29: error strings should not be capitalized (ST1005)
app/cmd/preview.go:76:29: error strings should not be capitalized (ST1005)
app/cmd/preview.go:91:10: error strings should not be capitalized (ST1005)
app/cmd/preview.go:118:10: error strings should not be capitalized (ST1005)
app/cmd/preview.go:123:10: error strings should not be capitalized (ST1005)
app/cmd/preview.go:273:10: error strings should not be capitalized (ST1005)
app/cmd/preview.go:289:10: error strings should not be capitalized (ST1005)
app/cmd/preview.go:312:10: error strings should not be capitalized (ST1005)
app/cmd/preview.go:322:11: error strings should not be capitalized (ST1005)
app/cmd/preview.go:487:16: error strings should not be capitalized (ST1005)
app/cmd/preview.go:498:16: error strings should not be capitalized (ST1005)
app/cmd/preview.go:695:46: error strings should not be capitalized (ST1005)
app/cmd/preview.go:740:10: error strings should not be capitalized (ST1005)
app/cmd/preview.go:740:10: error strings should not end with punctuation or newlines (ST1005)
app/cmd/preview.go:753:6: func createChecksumFromZip is unused (U1000)
app/cmd/preview.go:826:22: error strings should not be capitalized (ST1005)
app/cmd/preview.go:826:22: error strings should not end with punctuation or newlines (ST1005)
app/cmd/preview.go:838:10: error strings should not end with punctuation or newlines (ST1005)
app/cmd/preview.go:916:12: error strings should not be capitalized (ST1005)
app/cmd/preview.go:972:3: this value of file is never used (SA4006)
app/cmd/preview.go:975:4: self-assignment of file to file (SA4018)
app/cmd/preview.go:975:4: this value of file is never used (SA4006)
app/cmd/preview_test.go:7:2: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
app/cmd/publish.go:235:36: should omit second index in slice, s[a:len(s)] is identical to s[a:] (S1010)
app/cmd/publish.go:251:48: should omit second index in slice, s[a:len(s)] is identical to s[a:] (S1010)
app/cmd/root.go:6:2: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
app/cmd/root.go:44:11: error strings should not be capitalized (ST1005)
mdresourceparser/md_resource_parser.go:181:14: error strings should not be capitalized (ST1005)
mdresourceparser/md_resource_parser.go:190:14: error strings should not be capitalized (ST1005)
mdresourceparser/md_resource_parser.go:205:14: error strings should not be capitalized (ST1005)
mdresourceparser/md_resource_parser.go:220:14: error strings should not be capitalized (ST1005)