You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# EXC0001 errcheck: most errors are in defer calls, which are safe to ignore and idiomatic Go (would be good to only ignore defer ones though)
40
-
- 'Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*print(f|ln)?|os\.(Un)?Setenv|w\.Stop). is not checked'
41
-
# EXC0008 gosec: duplicated of errcheck
42
-
- (G104|G307)
43
-
# EXC0010 gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
44
-
- Potential file inclusion via variable
45
-
# Use of unsafe is unavoidable in this package
46
-
- G103
47
-
# We don't wrap errors on purpose
48
-
- non-wrapping format verb for fmt.Errorf. Use `%w` to format errors
49
-
# revive: unexported-return for functions exported only in tests, aliasing doesn't work here as the linter always goes for the underlying model which is unexported
50
-
- 'unexported-return: exported func InitialModel(ForTests|WithPrevConfig)? returns unexported type watchdtui.model, which can be annoying to use'
51
-
#fix: true # we don’t want this in CI
52
-
53
-
nolintlint:
54
-
require-explanation: true
55
-
require-specific: true
56
-
57
-
linters-settings:
58
-
# Forbid the usage of deprecated ioutil and debug prints
# EXC0001 errcheck: most errors are in defer calls, which are safe to ignore and idiomatic Go (would be good to only ignore defer ones though)
42
+
- 'Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*print(f|ln)?|os\.(Un)?Setenv|w\.Stop). is not checked'
43
+
# EXC0008 gosec: duplicated of errcheck
44
+
- (G104|G307)
45
+
# EXC0010 gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
46
+
- Potential file inclusion via variable
47
+
# Use of unsafe is unavoidable in this package
48
+
- G103
49
+
# We don't wrap errors on purpose
50
+
- non-wrapping format verb for fmt.Errorf. Use `%w` to format errors
51
+
# revive: unexported-return for functions exported only in tests, aliasing doesn't work here as the linter always goes for the underlying model which is unexported
52
+
- 'unexported-return: exported func InitialModel(ForTests|WithPrevConfig)? returns unexported type watchdtui.model, which can be annoying to use'
53
+
#fix: true # we don’t want this in CI
54
+
55
+
nolintlint:
56
+
require-explanation: true
57
+
require-specific: true
58
+
59
+
linters-settings:
60
+
# Forbid the usage of deprecated ioutil and debug prints
0 commit comments