elvish/pkg
Kurtis Rader eb2a792301 Fix some lint warnings
In addition to an uncontroversial spelling fix this addresses several,
related, warnings produced by the `golint` tool. In general I agree with
golint that unnecessary "else" blocks should be avoided. So this change
refactors those cases.

Note: I recognize that `golint` is deprecated (see
https://github.com/golang/go/issues/38968) since it is no longer being
maintained and there is controversy about its set of warnings. Nonetheless,
it appears that the warnings it emits for this project are all reasonable
and actionable with one potential exception: the naming of the `map_`
method in pkg/eval/compile_value.go.
2020-08-01 23:07:50 +01:00
..
buildinfo pkg/prog: Move all Program implementations into own packages. 2020-04-25 00:12:18 +01:00
cli Fix some lint warnings 2020-08-01 23:07:50 +01:00
daemon pkg/prog: Move all Program implementations into own packages. 2020-04-25 00:12:18 +01:00
diag pkg/diag: Do not depend implicitly on os.Stderr. 2020-04-14 22:35:02 +01:00
edit pkg/edit: Fix race conditions. 2020-07-14 20:43:11 +01:00
eval Fix some lint warnings 2020-08-01 23:07:50 +01:00
getopt pkg: Fix small issues found by staticcheck. 2020-04-13 13:56:10 +01:00
glob Address remaining feedback of #1018. 2020-06-28 01:33:27 +01:00
parse pkg/parse: Show deprecation warning when using \ for line continuation. 2020-07-01 21:39:29 +01:00
prog Suppress deprecations by default. 2020-04-26 21:26:53 +01:00
shell Add missing deprecation text for explode 2020-07-21 22:51:53 +01:00
store Fix some lint warnings 2020-08-01 23:07:50 +01:00
sys pkg/sys: Document why it's necessary to call signal.Ignore. 2020-07-11 14:26:30 +01:00
testutil Scale all test timeouts with $ELVISH_TEST_TIME_SCALE. 2020-04-03 22:12:20 +01:00
tt pkg/eval/vals: Move the "any" matcher to pkg/tt. 2020-01-06 23:19:00 +00:00
ui pkg/util: Move the wcwidth utilities to a new package, and add more tests. 2020-04-06 12:00:01 +01:00
util pkg: Fix small issues found by staticcheck. 2020-04-13 13:56:10 +01:00
wcwidth pkg/util: Move the wcwidth utilities to a new package, and add more tests. 2020-04-06 12:00:01 +01:00
web Support compile-time deprecation. 2020-04-26 13:14:51 +01:00