Page MenuHomeDevCentral

Add shellcheck linter
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:24.
Referenced Files
F11666870: D1163.id.diff
Mon, Sep 8, 01:19
F11664730: D1163.diff
Sun, Sep 7, 16:15
Unknown Object (File)
Sat, Sep 6, 02:04
Unknown Object (File)
Fri, Sep 5, 03:36
Unknown Object (File)
Mon, Sep 1, 02:17
Unknown Object (File)
Thu, Aug 28, 10:27
Unknown Object (File)
Tue, Aug 26, 03:01
Unknown Object (File)
Mon, Aug 25, 12:54

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.