Page MenuHomeDevCentral

Add shellcheck linter
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:24.
Referenced Files
F24827892: D1163.id2971.diff
Thu, Mar 12, 18:01
F24827727: D1163.id2971.diff
Thu, Mar 12, 17:47
F24818702: D1163.diff
Thu, Mar 12, 08:49
Unknown Object (File)
Wed, Mar 11, 02:32
Unknown Object (File)
Wed, Mar 11, 02:13
Unknown Object (File)
Tue, Mar 10, 03:12
Unknown Object (File)
Tue, Mar 10, 03:04
Unknown Object (File)
Sun, Mar 8, 16:45

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.