refactor: add more go linters (#970)

This commit is contained in:
Oleg Lobanov authored and GitHub committed 2020-06-01 01:12:36 +02:00
1 parent 54d92a2708
commit 700f32718e
56 files changed
+436 -221

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ var cmdsAddCmd = &cobra.Command{
Use: "add <event> <command>",
Short: "Add a command to run on a specific event",
Long: `Add a command to run on a specific event.`,
Args: cobra.MinimumNArgs(2),
Args: cobra.MinimumNArgs(2), //nolint:mnd
Run: python(func(cmd *cobra.Command, args []string, d pythonData) {
s, err := d.store.Settings.Get()
checkErr(err)