Skip to content

Commit

Permalink
update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Feb 12, 2023
1 parent 72382c6 commit 946d337
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 183 deletions.
11 changes: 7 additions & 4 deletions cspell.json
Expand Up @@ -20,6 +20,7 @@
"backgrounding",
"backoff",
"beforeunload",
"bodyclose",
"breakpad",
"Chromedp",
"codesearch",
Expand All @@ -42,6 +43,7 @@
"Geolocation",
"getent",
"gobwas",
"gocyclo",
"GODEBUG",
"gofmt",
"goimports",
Expand All @@ -55,6 +57,7 @@
"iframe",
"iframes",
"Interactable",
"ioutil",
"keychain",
"KHTML",
"ldflags",
Expand Down Expand Up @@ -89,7 +92,10 @@
"Sessionable",
"Smood",
"Socketable",
"spki",
"spkis",
"srgb",
"staticcheck",
"stdlib",
"tlid",
"touchend",
Expand All @@ -106,10 +112,7 @@
"wsutil",
"xlink",
"XVFB",
"ysmood",
"spki",
"spkis",
"staticcheck"
"ysmood"
],
// flagWords - list of words to be always considered incorrect
// This is useful for offensive words and common spelling errors.
Expand Down
2 changes: 1 addition & 1 deletion lib/devices/generate/main.go
Expand Up @@ -70,7 +70,7 @@ func main() {
utils.Exec("gofmt -s -w", path)
utils.Exec(
"go run github.com/ysmood/golangci-lint@latest -- "+
"run --no-config --fix --disable-all -E gofmt,goimports",
"run --no-config --fix",
path,
)
}
Expand Down

0 comments on commit 946d337

Please sign in to comment.