Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 853e449

Browse files
updated linters to not allow print statements (#536)
1 parent 1b26c70 commit 853e449

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.golangci.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ linters-settings:
3232
min-complexity: 15
3333
gofmt:
3434
rewrite-rules:
35-
- pattern: "interface{}"
36-
replacement: "any"
35+
- pattern: 'interface{}'
36+
replacement: 'any'
3737
goimports:
3838
local-prefixes: github.com/golangci/golangci-lint
3939
gomnd:
@@ -44,12 +44,12 @@ linters-settings:
4444
- condition
4545
- return
4646
ignored-numbers:
47-
- "0"
48-
- "1"
49-
- "2"
50-
- "3"
51-
- "4"
52-
- "5"
47+
- '0'
48+
- '1'
49+
- '2'
50+
- '3'
51+
- '4'
52+
- '5'
5353
ignored-functions:
5454
- strings.SplitN
5555

@@ -85,6 +85,7 @@ linters:
8585
# - dupl
8686
- errcheck
8787
- exportloopref
88+
- forbidigo
8889
# - funlen
8990
# - gochecknoinits
9091
- goconst

frontend/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"caughtErrorsIgnorePattern": "^_"
1212
}
1313
],
14-
//"no-console": ["error", { "allow": ["error"] }],
14+
"no-console": ["error", { "allow": ["error"] }],
1515
"@typescript-eslint/no-explicit-any": "error"
1616
},
1717
"plugins": ["@typescript-eslint"],

0 commit comments

Comments
 (0)