Skip to content

Commit 2eb64dc

Browse files
committed
asd
1 parent ffa37a0 commit 2eb64dc

File tree

2 files changed

+57
-8
lines changed

2 files changed

+57
-8
lines changed

.github/workflows/checks.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,6 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v4
2929

30-
- name: Configure credential to download private go modules
31-
run: |
32-
echo "machine github.com login $GITHUB_USERNAME password $GITHUB_TOKEN" > ~/.netrc
33-
34-
- uses: dprint/[email protected]
35-
with:
36-
dprint-version: 0.48.0
37-
3830
- uses: golangci/golangci-lint-action@v8
3931
with:
4032
version: v2.4.0

.golangci.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
version: "2"
2+
linters:
3+
enable:
4+
- bodyclose
5+
- dogsled
6+
- goconst
7+
- gocritic
8+
- goprintffuncname
9+
- gosec
10+
- importas
11+
- misspell
12+
- nakedret
13+
- prealloc
14+
- revive
15+
- staticcheck
16+
- unconvert
17+
- unparam
18+
- gochecknoinits
19+
settings:
20+
misspell:
21+
locale: US
22+
revive:
23+
rules:
24+
- name: indent-error-flow
25+
disabled: true
26+
goconst:
27+
ignore-string-values:
28+
- ".exe"
29+
- "windows"
30+
- "linux"
31+
- "darwin"
32+
33+
exclusions:
34+
generated: lax
35+
presets:
36+
- comments
37+
- common-false-positives
38+
- legacy
39+
- std-error-handling
40+
paths:
41+
- third_party$
42+
- builtin$
43+
- examples$
44+
formatters:
45+
enable:
46+
- gofmt
47+
- goimports
48+
settings:
49+
goimports:
50+
local-prefixes:
51+
- github.com/arduino/remoteocd
52+
exclusions:
53+
generated: lax
54+
paths:
55+
- third_party$
56+
- builtin$
57+
- examples$

0 commit comments

Comments
 (0)