The default path for libraries extending Phabricator and Arcanist is at the same level as Phabricator or Arcanist folders:
$ cd /path/to/arcanist $ cd .. $ git clone https://github.com/dereckson/shellcheck-linter.git
When you need to use this plugin in a project, in your .arcconfig file, add a load block, for example:
.arcconfig
{ "phabricator.uri": "https://devcentral.nasqueron.org/", "repository.callsign": "OPS", "load": [ "shellcheck-linter" ] }
The load array is a collection of strings, and each string match a folder name to load.
load
.arclint
Provide a block with the "shellcheck" linter type and the patterns you wish to lint.
"shellcheck"
For example to lint all .sh files:
.sh
{ "linters": { "shell": { "type": "shellcheck", "include": [ "(\\.sh$)" ] } } }
There was an error while loading. Please reload this page.