Page MenuHomeDevCentral

Add shellcheck linter
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:24.
Referenced Files
F29192615: D1163.id2974.diff
Sat, May 16, 08:45
F29171636: D1163.diff
Sat, May 16, 06:14
F29158756: D1163.id2971.diff
Sat, May 16, 04:39
F29121054: D1163.diff
Sat, May 16, 01:55
Unknown Object (File)
Wed, May 13, 03:17
Unknown Object (File)
Tue, May 12, 14:15
Unknown Object (File)
Tue, May 12, 01:20
Unknown Object (File)
Mon, May 11, 21:30

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.