Page MenuHomeDevCentral

Add shellcheck linter
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:24.
Referenced Files
F9609804: D1163.id2971.diff
Mon, Jun 9, 23:50
F9609778: D1163.id2974.diff
Mon, Jun 9, 23:49
F9609575: D1163.id.diff
Mon, Jun 9, 23:40
F9608885: D1163.diff
Mon, Jun 9, 23:14
Unknown Object (File)
Mon, Jun 9, 17:27
Unknown Object (File)
Mon, Jun 9, 14:30
Unknown Object (File)
Thu, Jun 5, 16:09
Unknown Object (File)
Thu, Jun 5, 16:08

Details

Summary

Setup similar to rOPSf637b1b858173

Test Plan

arc lint

Diff Detail

Repository
rDARC nasqueron/arcanist Docker image
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Works fine:

$ cat > foo.sh
#!/bin/sh

foo $1
$ git add foo.sh 
$ arc lint
>>> Lint for foo.sh:


   Advice  (SC2086) SHELLCHECK
    Double quote to prevent globbing and word splitting.

               1 #!/bin/sh
               2 
    >>>        3 foo $1
                     ^
 OKAY  No lint warnings.
This revision is now accepted and ready to land.Nov 3 2017, 18:30
This revision was automatically updated to reflect the committed changes.