In a project, I have a support/arcanist directory which contains a bunch of arcanist extensions for the project (mainly custom linters). Whilst it would make sense to have the support/arcanist tree be a completely distinct repository, it makes distribution (and updates) easier to just leave this subdirectory in the project tree.
The code in the support/arcanist subdirectory is linted to a different standard than the rest of the code in the repository. Specifically, the code in support/arcanist is linted as though it were in rARC itself (making it easier to upstream this code if we wanted to).
For the most part, the support/arcanist subdirectory looks like it is its own repository (it has a toplevel .gitignore, .editorconfig and README files), except for the .arclint file. As a result, the root .arclint file seems a bit messy:
{ "linters": { "php": { "type": "xhpast", "include": "(\\.php$)", "exclude": [ "(^support/arcanist/.*\\.php$)" ], "severity": { "5": "warning", "9": "disabled", "34": "disabled", "37": "disabled" }, "xhpast.php-version": "5.3.29" }, "php-strict": { "type": "xhpast", "include": [ "(^support/arcanist/.*\\.php$)" ], "xhpast.php-version": "5.3.29" }, "phutil-library": { "type": "phutil-library", "include": "(^support/arcanist/.*\\.php$)" }, "phutil-xhpast": { "type": "phutil-xhpast", "include": "(^support/arcanist/.*\\.php$)" } } }