Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Nov 22, 2015
1 parent df7a18d commit c4d05a9
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions README.mkd
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# arcanist-external-json-linter

This is an Arcanist extension providing a mechanism for implementing external
Linter tools. The extension allows linter tools to emit JSON-serialized
violation messages to standard output.

## Installation

First add this repository as a submodule of the project,

```
$ git submodule add https://github.com/tagview/arcanist-extensions.git .arcanist-external-json-linter
$ git submodule update --init
```

Then load the extension in `.arcconfig`,
```
{
"project_id": "my-awesome-project",
"conduit_uri": "https://example.org",
"load": [
".arcanist-external-json-linter"
]
}
```

## Usage

Add a linter to `.arclint`,
```
{
"linters": {
"my-linter": {
"type": "external-json",
"external-json.script": "python .arc-linters/check-binaries.py $1"
}
}
}
```

0 comments on commit c4d05a9

Please sign in to comment.