Page MenuHomeDevCentral

Add shellcheck linter
ClosedPublic

Authored by dereckson on Nov 3 2017, 18:24.
Referenced Files
F2958644: D1163.diff
Sat, May 18, 05:54
Unknown Object (File)
Fri, May 17, 12:56
Unknown Object (File)
Fri, May 17, 12:56
Unknown Object (File)
Tue, May 14, 12:18
Unknown Object (File)
Mon, May 13, 10:44
Unknown Object (File)
Sun, May 12, 19:19
Unknown Object (File)
Thu, May 9, 04:13
Unknown Object (File)
Thu, May 9, 00:01

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.