Showing 28 of 28 total issues
comment on exported type ConfigBase should be of the form "ConfigBase ..." (with optional leading article) Open
// Config file struct
- Exclude checks
exported type ConfigVer should have comment or be unexported Open
type ConfigVer struct {
- Exclude checks
exported method ConfigBase.GetLdapUsers should have comment or be unexported Open
func (c *ConfigBase) GetLdapUsers() string {
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
// +build linux
- Exclude checks
exported type ConfigV3 should have comment or be unexported Open
type ConfigV3 struct {
- Exclude checks
Line length Open
* Support NIS netgroups in accessTo attributes with sudo-compatible syntax, netgroups are distinguished by prepending 'plus' sign
- Read upRead up
- Exclude checks
MD013 - Line length
Tags: line_length
Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)
This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.
This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.
You also have the option to exclude this rule for code blocks and tables. To
do this, set the code_blocks
and/or tables
parameters to false.
Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.
exported method ConfigBase.GetLdapStartTLS should have comment or be unexported Open
func (c *ConfigBase) GetLdapStartTLS() bool {
- Exclude checks
exported method ConfigV3.GetHostnames should have comment or be unexported Open
func (c *ConfigV3) GetHostnames() []string {
- Exclude checks