Merge pull request #49 from reviewdog/depup/reviewdog/reviewdog #99
reviewdog.yml
on: push
runner / shellcheck
6s
runner / shfmt
5s
runner / actionlint
6s
runner / misspell
8s
runner / alex
22s
Annotations
2 errors, 2 warnings, and 2 notices
[shellcheck] testdata/test.sh#L1 <ShellCheck.SC2148>:
testdata/test.sh#L1
Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
|
[shellcheck] testdata/test.sh#L5 <ShellCheck.SC2283>:
testdata/test.sh#L5
Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal).
|
[shellcheck] testdata/test.sh#L1 <ShellCheck.SC2061>:
testdata/test.sh#L1
Quote the parameter to -name so the shell won't interpret it.
|
[shellcheck] testdata/test.sh#L3 <ShellCheck.SC2063>:
testdata/test.sh#L3
Grep uses regex, but this looks like a glob.
|
[shellcheck] testdata/test.sh#L1 <ShellCheck.SC2035>:
testdata/test.sh#L1
Use ./*glob* or -- *glob* so names with dashes won't become options.
|
[shellcheck] testdata/test.sh#L7 <ShellCheck.SC2006>:
testdata/test.sh#L7
Use $(...) notation instead of legacy backticks `...`.
|