Skip to content

Commit 0b025d8

Browse files
committed
refactor: simplify staticcheck command in Taskfile.yaml for improved maintainability
1 parent 2b51d5d commit 0b025d8

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

Taskfile.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,4 @@ tasks:
1616

1717
check:
1818
desc: Run a staticcheck (staticcheck must be installed -> https://staticcheck.dev/docs/getting-started/)
19-
cmds:
20-
- cd cli && staticcheck -tests=false
21-
- cd command && staticcheck -tests=false
22-
- cd config && staticcheck -tests=false
23-
- cd environment && staticcheck -tests=false
24-
- cd filesystem && staticcheck -tests=false
25-
- cd filter && staticcheck -tests=false
26-
- cd heartbeat && staticcheck -tests=false
27-
- cd logging && staticcheck -tests=false
28-
- cd mqtt && staticcheck -tests=false
29-
- cd process && staticcheck -tests=false
30-
- cd shutdown && staticcheck -tests=false
31-
- cd strings && staticcheck -tests=false
32-
- cd templates && staticcheck -tests=false
33-
- cd yamlconfig && staticcheck -tests=false
19+
cmd: staticcheck -tests=false ./...

0 commit comments

Comments
 (0)