Page MenuHomeDevCentral

Add shellcheck linter
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:24.
Referenced Files
F45469606: D1163.diff
Sat, Aug 22, 08:22
Unknown Object (File)
Thu, Aug 20, 08:25
Unknown Object (File)
Wed, Aug 19, 04:53
Unknown Object (File)
Mon, Aug 17, 18:12
Unknown Object (File)
Mon, Aug 17, 14:41
Unknown Object (File)
Mon, Aug 17, 11:52
Unknown Object (File)
Mon, Aug 17, 11:06
Unknown Object (File)
Thu, Aug 13, 11:33

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.