1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

5 Commits

Author SHA1 Message Date
Sam Roberts
4bb725db9e golangci-lint configuration file
golangci-lint can run all the currently enabled linters, and as far as I
can tell, does it in under 5 seconds as opposed to over 180 seconds
(compare `time make cilint` and `time make lint`).

Some of the linters that are listed in the "enabled" section but
commented out looked like a good idea to me, and fairly low hanging
fruit to fix, but they are not passing at the moment.

All the linters covered in the current Makefile are run.

TODO:
- replace lint target in Makefile with golangci-lint
- remove .github/workflow/errcheck.yml
2020-05-16 12:34:57 -07:00
Chris Cummer
a7facc85fa
Add 'withDate' option to digitalclock module (#797)
When `withDate` is `true`, it displays date information below the clock.
When `withDate` is `false`, it does not display date information.
Defaults to `true`.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-18 21:38:30 -08:00
Chris Cummer
703619bf0a
WTF-748 Fixes and improves module templating (#786)
Fixes and improves the module templating for creating new bare-bones
text widgets.

This command:

    WTF_WIDGET_NAME=MyNewWidget go generate -run=text

now properly generates:

    * the module directory in the /modules directory
    * the widget.go file
    * the settings.go file

with no linter warnings or errors.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-14 08:46:02 -08:00
Narendra L
3ad04c4969 Cleanup unwanted comments 2019-09-09 09:29:16 +02:00
Narendra L
348b2ffa5d Adds support for digital clock 2019-09-08 23:58:45 +02:00