File tree Expand file tree Collapse file tree 7 files changed +17
-0
lines changed Expand file tree Collapse file tree 7 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ linters-settings:
3636
3737linters :
3838 enable :
39+ - lll
3940 - gofmt
4041 - tagliatelle
4142 - whitespace
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ var ErrVersionIncompatible = fmt.Errorf("litd version is not compatible " +
2626 "with the minimum version required by the autopilot server" )
2727
2828// Config holds the configuration options for the autopilot server client.
29+ //
30+ //nolint:lll
2931type Config struct {
3032 // Disable will disable the autopilot client.
3133 Disable bool `long:"disable" description:"disable the autopilot client"`
Original file line number Diff line number Diff line change @@ -147,6 +147,8 @@ var (
147147// Config is the main configuration struct of lightning-terminal. It contains
148148// all config items of its enveloping subservers, each prefixed with their
149149// daemon's short name.
150+ //
151+ //nolint:lll
150152type Config struct {
151153 ShowVersion bool `long:"version" description:"Display version information and exit."`
152154
Original file line number Diff line number Diff line change 11package firewall
22
33// Config holds all config options for the firewall.
4+ //
5+ //nolint:lll
46type Config struct {
57 RequestLogger * RequestLoggerConfig `group:"request-logger" namespace:"request-logger" description:"request logger settings"`
68}
79
810// RequestLoggerConfig holds all the config options for the request logger.
11+ //
12+ //nolint:lll
913type RequestLoggerConfig struct {
1014 RequestLoggerLevel RequestLoggerLevel `long:"level" description:"Set the request logger level. Options include 'all', 'full' and 'interceptor''"`
1115}
Original file line number Diff line number Diff line change @@ -1308,6 +1308,8 @@ func TestHideBool(t *testing.T) {
13081308
13091309// TestObfuscateConfig tests that we substitute substrings in the config
13101310// correctly.
1311+ //
1312+ //nolint:lll
13111313func TestObfuscateConfig (t * testing.T ) {
13121314 tests := []struct {
13131315 name string
Original file line number Diff line number Diff line change 99)
1010
1111// Config is the configuration struct for the RPC middleware.
12+ //
13+ //nolint:lll
1214type Config struct {
1315 Disabled bool `long:"disabled" description:"Disable the RPC middleware"`
1416 InterceptTimeout time.Duration `long:"intercept-timeout" description:"The maximum time the RPC middleware is allowed to take for intercepting each RPC request"`
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ package subservers
22
33// RemoteConfig holds the configuration parameters that are needed when running
44// LiT in the "remote" lnd mode.
5+ //
6+ //nolint:lll
57type RemoteConfig struct {
68 LitLogDir string `long:"lit-logdir" description:"For lnd remote mode only: Directory to log output."`
79 LitMaxLogFiles int `long:"lit-maxlogfiles" description:"For lnd remote mode only: Maximum logfiles to keep (0 for no rotation)"`
@@ -18,6 +20,8 @@ type RemoteConfig struct {
1820
1921// RemoteDaemonConfig holds the configuration parameters that are needed to
2022// connect to a remote daemon like lnd for example.
23+ //
24+ //nolint:lll
2125type RemoteDaemonConfig struct {
2226 // RPCServer is host:port that the remote daemon's RPC server is
2327 // listening on.
You can’t perform that action at this time.
0 commit comments